From: Michael Wallner Date: Tue, 14 Jun 2005 10:37:33 +0000 (+0000) Subject: - needs to be a pointer X-Git-Tag: RELEASE_0_9_0~24 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1d7e942df4d55521b348a22e3f6b4f70e7f3fd25;p=m6w6%2Fext-http - needs to be a pointer --- diff --git a/php_http.h b/php_http.h index e648457..dc67383 100644 --- a/php_http.h +++ b/php_http.h @@ -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;