From 0aa5f2ea3c161e7ace096269b03e45e01e93c079 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 16 May 2000 14:59:30 +0000 Subject: - Reverse the patch until I have time to look at it. The global id should be defined by ZEND_DECLARE_GLOBALS(cwd) --- main/php_virtual_cwd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/php_virtual_cwd.h') diff --git a/main/php_virtual_cwd.h b/main/php_virtual_cwd.h index ecd93463b6..44745557c6 100644 --- a/main/php_virtual_cwd.h +++ b/main/php_virtual_cwd.h @@ -61,6 +61,7 @@ ZEND_END_MODULE_GLOBALS(cwd) # define CWDLS_CC , CWDLS_C # define CWDG(v) (cwd_globals->v) # define CWDLS_FETCH() zend_cwd_globals *cwd_globals = ts_resource(cwd_globals_id) +CWD_API extern int cwd_globals_id; #else # define CWDLS_D void # define CWDLS_DC @@ -68,6 +69,7 @@ ZEND_END_MODULE_GLOBALS(cwd) # define CWDLS_CC # define CWDG(v) (cwd_globals.v) # define CWDLS_FETCH() +extern CWD_API zend_cwd_globals cwd_globals; #endif #endif /* VIRTUAL_CWD_H */ -- cgit v1.2.1