From b60f7514c29b6d6d776793c6ee46403b5a8a37fd Mon Sep 17 00:00:00 2001 From: Xuefer Date: Mon, 17 Dec 2012 13:22:17 +0000 Subject: [PATCH] zts build fix git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1200 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- xcache/xc_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcache/xc_lock.c b/xcache/xc_lock.c index bc75421..70e3d23 100644 --- a/xcache/xc_lock.c +++ b/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);