From: Zeev Suraski Date: Sat, 24 Apr 1999 16:16:11 +0000 (+0000) Subject: Thread safety fixes X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e06a1ed265bc8141bf5cfab96753db7d21df2d9f;p=php Thread safety fixes --- diff --git a/Zend/zend.c b/Zend/zend.c index e5df93f046..d9a99eabc4 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -41,8 +41,8 @@ FILE *(*zend_fopen)(const char *filename); void (*zend_block_interruptions)(); void (*zend_unblock_interruptions)(); #ifdef ZTS -int compiler_globals_id; -int executor_globals_id; +ZEND_API int compiler_globals_id; +ZEND_API int executor_globals_id; int alloc_globals_id; HashTable *global_function_table; HashTable *global_class_table; diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h index 621d45879d..644e7e3d43 100644 --- a/Zend/zend_globals.h +++ b/Zend/zend_globals.h @@ -35,8 +35,8 @@ class ZendFlexLexer; #endif BEGIN_EXTERN_C() -extern int compiler_globals_id; -extern int executor_globals_id; +ZEND_API extern int compiler_globals_id; +ZEND_API extern int executor_globals_id; extern int alloc_globals_id; END_EXTERN_C()