diff options
author | Zeev Suraski <zeev@php.net> | 1999-04-21 04:02:11 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-04-21 04:02:11 +0000 |
commit | c5af324ec328b6d99971d53f7eeef1dae6bd017f (patch) | |
tree | 2875371c936403d820507124bc3dfa6e2fb27009 /main/php_globals.h | |
parent | 7a87fcbbdac80f77f8b6ceb16436d398019c6091 (diff) | |
download | php-git-c5af324ec328b6d99971d53f7eeef1dae6bd017f.tar.gz |
More thread safety work
Diffstat (limited to 'main/php_globals.h')
-rw-r--r-- | main/php_globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h index edde446e66..19dbaa8804 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -1,6 +1,8 @@ #ifndef _PHP_GLOBALS_H #define _PHP_GLOBALS_H +#include "zend_globals.h" + typedef struct _php_core_globals php_core_globals; #ifdef ZTS @@ -10,6 +12,7 @@ typedef struct _php_core_globals php_core_globals; # define PLS_CC , PLS_C # define PG(v) (core_globals->v) # define PLS_FETCH() php_core_globals *core_globals = ts_resource(core_globals_id) +extern int core_globals_id; #else # define PLS_D # define PLS_DC |