Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
e4cdc7fc
Commit
e4cdc7fc
authored
Apr 28, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use consistent test for OSX
parent
bf5e38e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_lck.c
bin/varnishd/cache/cache_lck.c
+1
-1
No files found.
bin/varnishd/cache/cache_lck.c
View file @
e4cdc7fc
...
@@ -209,7 +209,7 @@ LCK_Init(void)
...
@@ -209,7 +209,7 @@ LCK_Init(void)
{
{
AZ
(
pthread_mutexattr_init
(
&
attr
));
AZ
(
pthread_mutexattr_init
(
&
attr
));
#if !defined(__APPLE__)
#if !defined(__APPLE__)
&& !defined(__MACH__)
AZ
(
pthread_mutexattr_settype
(
&
attr
,
PTHREAD_MUTEX_ERRORCHECK
));
AZ
(
pthread_mutexattr_settype
(
&
attr
,
PTHREAD_MUTEX_ERRORCHECK
));
#endif
#endif
AZ
(
pthread_mutex_init
(
&
lck_mtx
,
&
attr
));
AZ
(
pthread_mutex_init
(
&
lck_mtx
,
&
attr
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment