projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
85f5451
)
- fix non-ZTS build, thanks Hannes
author
Michael Wallner
<mike@php.net>
Tue, 24 Apr 2007 11:31:44 +0000
(11:31 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 24 Apr 2007 11:31:44 +0000
(11:31 +0000)
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index 0299d2f920d904d7422898353d219e32d59bacef..b4ed0dfbdcd06083c61ef621912b0900522ba7b6 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-201,13
+201,15
@@
static inline void _http_globals_free(zend_http_globals *G TSRMLS_DC)
}
}
-#if PHP_DEBUG
+#if defined(ZTS) && defined(PHP_DEBUG)
+#if ZTS && PHP_DEBUG
zend_http_globals *http_globals(void)
{
TSRMLS_FETCH();
return HTTP_G;
}
#endif
+#endif
/* }}} */
/* {{{ static inline void http_check_allowed_methods(char *) */