Browse Source

zts build fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1200 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
b60f7514c2
  1. 2
      xcache/xc_lock.c

2
xcache/xc_lock.c

@ -200,8 +200,8 @@ xc_lock_t *xc_lock_init(const char *pathname, int interprocess) /* {{{ */
#ifdef XC_LOCK_UNSUED
return (xc_lock_t *) 1;
#else
# ifdef ZTS
xc_lock_t *lck = malloc(sizeof(xc_lock_t));
# ifdef ZTS
# if defined(PTHREADS)
pthread_mutexattr_t psharedm;
pthread_mutexattr_init(&psharedm);

Loading…
Cancel
Save