summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-10-08 16:29:33 +0000
committerSascha Schumann <sas@php.net>1999-10-08 16:29:33 +0000
commit965c9c2187f9938cce8ae04e487e767ccdac9b1a (patch)
tree6456016f11be64730c83f09939a429f8a8191756
parent9c995e93d7b4fbc39e985c926761bdda645476de (diff)
downloadphp-git-965c9c2187f9938cce8ae04e487e767ccdac9b1a.tar.gz
Use correct data type for mutex.
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
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()