summaryrefslogtreecommitdiff
path: root/ext/shmop/php_shmop.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-28 11:36:37 (GMT)
committerZeev Suraski <zeev@php.net>2001-07-28 11:36:37 (GMT)
commitd87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch)
tree8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/shmop/php_shmop.h
parentb4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff)
downloadphp-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/shmop/php_shmop.h')
-rw-r--r--ext/shmop/php_shmop.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h
index 2045afd..65ed03c 100644
--- a/ext/shmop/php_shmop.h
+++ b/ext/shmop/php_shmop.h
@@ -57,11 +57,9 @@ typedef struct {
} php_shmop_globals;
#ifdef ZTS
-#define SHMOPG(v) (shmop_globals->v)
-#define SHMOPLS_FETCH() php_shmop_globals *shmop_globals = ts_resource(gd_shmop_id)
+#define SHMOPG(v) TSRMG(gd_shmop_id, php_shmop_globals *, v)
#else
#define SHMOPG(v) (shmop_globals.v)
-#define SHMOPLS_FETCH()
#endif
#else