]> granicus.if.org Git - php/commitdiff
Thread safety fixes
authorZeev Suraski <zeev@php.net>
Sat, 24 Apr 1999 16:16:11 +0000 (16:16 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 24 Apr 1999 16:16:11 +0000 (16:16 +0000)
Zend/zend.c
Zend/zend_globals.h

index e5df93f0460f3ce995c3bb5ed7c626caf4329e50..d9a99eabc492646d3f0142f7d5e0b83d4906e28d 100644 (file)
@@ -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;
index 621d45879d86c78a8c8c2287f150bc07084be529..644e7e3d4380232a23047f8560758705f3042a74 100644 (file)
@@ -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()