From 965c9c2187f9938cce8ae04e487e767ccdac9b1a Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 8 Oct 1999 16:29:33 +0000 Subject: [PATCH] Use correct data type for mutex. --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.50.1