From: Sascha Schumann Date: Fri, 8 Oct 1999 16:29:33 +0000 (+0000) Subject: Use correct data type for mutex. X-Git-Tag: php-4.0b3_RC2~244 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=965c9c2187f9938cce8ae04e487e767ccdac9b1a;p=php Use correct data type for mutex. --- diff --git a/main/main.c b/main/main.c index 1927534e8c..9e1205ee02 100644 --- a/main/main.c +++ b/main/main.c @@ -90,7 +90,7 @@ PHPAPI int core_globals_id; /* temporary workaround for thread-safety issues in libzend */ #if defined(ZTS) && !defined(NO_GLOBAL_LOCK) -static THREAD_T global_lock; +static MUTEX_T global_lock; #define global_lock() tsrm_mutex_lock(global_lock) #define global_unlock() tsrm_mutex_unlock(global_lock); #define global_lock_init() global_lock = tsrm_mutex_alloc()