]> granicus.if.org Git - php/commitdiff
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
authorSascha Schumann <sas@php.net>
Wed, 4 Oct 2000 23:11:07 +0000 (23:11 +0000)
committerSascha Schumann <sas@php.net>
Wed, 4 Oct 2000 23:11:07 +0000 (23:11 +0000)
construct.

ext/skeleton/skeleton.c

index 552224308a0430009c3466e27202c385faa23835..b40b8424db69338adcb396b1cc15c9140c4f34b6 100644 (file)
@@ -9,11 +9,7 @@
 */
 #if HAVE_EXTNAME
 
-#ifdef ZTS
-int extname_globals_id;
-#else
-php_extname_globals extname_globals;
-#endif
+ZEND_DECLARE_MODULE_GLOBALS(extname)
 
 /* Every user visible function must have an entry in extname_functions[].
 */