- needs to be a pointer
authorMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 10:37:33 +0000 (10:37 +0000)
committerMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 10:37:33 +0000 (10:37 +0000)
php_http.h

index e64845755ae19a42bcb8de445ae793425f1e0b15..dc673837a374377adf65a02e3f956767196c39b7 100644 (file)
@@ -80,7 +80,7 @@ ZEND_END_MODULE_GLOBALS(http)
 #      define HTTP_GLOBALS ((zend_http_globals *) (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(http_globals_id)])
 #else
 #      define HTTP_G(v) (http_globals.v)
-#      define HTTP_GLOBALS http_globals
+#      define HTTP_GLOBALS (&http_globals)
 #endif
 #define getGlobals(G) zend_http_globals *G = HTTP_GLOBALS;