diff options
author | Andi Gutmans <andi@php.net> | 2002-03-23 12:18:50 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-03-23 12:18:50 +0000 |
commit | 3e3ae4f61c1f08173dea35a190fc360d4d4b2e26 (patch) | |
tree | 0a6c388b91ee6815896f2351b201800f2069bbf7 /Zend/zend_ts_hash.h | |
parent | 3402d342a654b8073ca536cca5da6af3e346c5e3 (diff) | |
download | php-git-3e3ae4f61c1f08173dea35a190fc360d4d4b2e26.tar.gz |
- Fix build without ZTS. If someone has a nicer fix let me know.
Diffstat (limited to 'Zend/zend_ts_hash.h')
-rw-r--r-- | Zend/zend_ts_hash.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_ts_hash.h b/Zend/zend_ts_hash.h index 51472297df..abd8e032da 100644 --- a/Zend/zend_ts_hash.h +++ b/Zend/zend_ts_hash.h @@ -19,6 +19,8 @@ #ifndef ZEND_TS_HASH_H #define ZEND_TS_HASH_H +#ifdef ZTS + #include "zend.h" typedef struct _zend_ts_hashtable { @@ -112,4 +114,6 @@ END_EXTERN_C() zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent) +#endif /* ZTS */ + #endif /* ZEND_HASH_H */ |