diff options
| author | Andi Gutmans <andi@php.net> | 2000-09-02 18:40:41 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2000-09-02 18:40:41 +0000 |
| commit | 299d1295b6350cc32e33e56d20e1106fe5c93f1a (patch) | |
| tree | 2df9566b5e9065b4766267a551bec742cca128a9 /main/php_virtual_cwd.h | |
| parent | cf8e389799ff213d6eadfee8839b1aaa5ebe32f8 (diff) | |
| download | php-git-299d1295b6350cc32e33e56d20e1106fe5c93f1a.tar.gz | |
- Remove another TSRM->Zend dependency
Diffstat (limited to 'main/php_virtual_cwd.h')
| -rw-r--r-- | main/php_virtual_cwd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/php_virtual_cwd.h b/main/php_virtual_cwd.h index 03b100d8c2..6c15ecc427 100644 --- a/main/php_virtual_cwd.h +++ b/main/php_virtual_cwd.h @@ -118,17 +118,17 @@ CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group); CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path); -ZEND_BEGIN_MODULE_GLOBALS(cwd) +typedef struct _virtual_cwd_globals { cwd_state cwd; -ZEND_END_MODULE_GLOBALS(cwd) +} virtual_cwd_globals; #ifdef ZTS -# define CWDLS_D zend_cwd_globals *cwd_globals +# define CWDLS_D virtual_cwd_globals *cwd_globals # define CWDLS_DC , CWDLS_D # define CWDLS_C cwd_globals # define CWDLS_CC , CWDLS_C # define CWDG(v) (cwd_globals->v) -# define CWDLS_FETCH() zend_cwd_globals *cwd_globals = ts_resource(cwd_globals_id) +# define CWDLS_FETCH() virtual_cwd_globals *cwd_globals = ts_resource(cwd_globals_id) #else # define CWDLS_D void # define CWDLS_DC |
