summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_win32.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-28 10:46:11 +0000
committerZeev Suraski <zeev@php.net>2001-07-28 10:46:11 +0000
commit633a1c30d115baa6436883ff44fd5abb127e0a7f (patch)
treeec7c704409b6bcde0d8ec2c551bb20866e2e6770 /TSRM/tsrm_win32.h
parentadb1fa5a4cf74be70a517df8414acb418d52d823 (diff)
downloadphp-git-633a1c30d115baa6436883ff44fd5abb127e0a7f.tar.gz
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'TSRM/tsrm_win32.h')
-rw-r--r--TSRM/tsrm_win32.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/TSRM/tsrm_win32.h b/TSRM/tsrm_win32.h
index 95cdd99a82..cb09786682 100644
--- a/TSRM/tsrm_win32.h
+++ b/TSRM/tsrm_win32.h
@@ -38,12 +38,11 @@ typedef struct {
} tsrm_win32_globals;
#ifdef ZTS
-# define TWG(v) (win32_globals->v)
-# define TWLS_FETCH() tsrm_win32_globals *win32_globals = ts_resource(win32_globals_id)
+# define TWG(v) TSRMG(win32_globals_id, tsrm_win32_globals *, v)
#else
# define TWG(v) (win32_globals.v)
-# define TWLS_FETCH()
#endif
+
#endif
TSRM_API void tsrm_win32_startup(void);