summaryrefslogtreecommitdiff
path: root/main/php_virtual_cwd.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-16 14:59:30 +0000
committerAndi Gutmans <andi@php.net>2000-05-16 14:59:30 +0000
commit0aa5f2ea3c161e7ace096269b03e45e01e93c079 (patch)
treeb0d2e09bf9dc9d3f3d48249583e1275676942858 /main/php_virtual_cwd.c
parent4e6e741af8f8f398112cbed67c2a6bd91127b3c9 (diff)
downloadphp-git-0aa5f2ea3c161e7ace096269b03e45e01e93c079.tar.gz
- Reverse the patch until I have time to look at it. The global id should
be defined by ZEND_DECLARE_GLOBALS(cwd)
Diffstat (limited to 'main/php_virtual_cwd.c')
-rw-r--r--main/php_virtual_cwd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/php_virtual_cwd.c b/main/php_virtual_cwd.c
index be82671cfa..0275b5c029 100644
--- a/main/php_virtual_cwd.c
+++ b/main/php_virtual_cwd.c
@@ -19,10 +19,7 @@
#ifdef ZTS
#include "TSRM.h"
-static int cwd_globals_id;
-#else
-static zend_cwd_globals cwd_globals;
-endif
+#endif
ZEND_DECLARE_MODULE_GLOBALS(cwd);