summaryrefslogtreecommitdiff
path: root/Zend/zend_ts_hash.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-03-23 12:18:50 +0000
committerAndi Gutmans <andi@php.net>2002-03-23 12:18:50 +0000
commit3e3ae4f61c1f08173dea35a190fc360d4d4b2e26 (patch)
tree0a6c388b91ee6815896f2351b201800f2069bbf7 /Zend/zend_ts_hash.c
parent3402d342a654b8073ca536cca5da6af3e346c5e3 (diff)
downloadphp-git-3e3ae4f61c1f08173dea35a190fc360d4d4b2e26.tar.gz
- Fix build without ZTS. If someone has a nicer fix let me know.
Diffstat (limited to 'Zend/zend_ts_hash.c')
-rw-r--r--Zend/zend_ts_hash.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Zend/zend_ts_hash.c b/Zend/zend_ts_hash.c
index 8d9cc3c99e..8fe36d3235 100644
--- a/Zend/zend_ts_hash.c
+++ b/Zend/zend_ts_hash.c
@@ -16,8 +16,9 @@
+----------------------------------------------------------------------+
*/
-#include "zend_ts_hash.h"
+#ifdef ZTS
+#include "zend_ts_hash.h"
/* ts management functions */
static void begin_read(TsHashTable *ht)
@@ -336,4 +337,6 @@ void zend_ts_hash_display(TsHashTable *ht)
zend_hash_display(&(ht->hash));
end_read(ht);
}
-#endif \ No newline at end of file
+#endif
+
+#endif /* ZTS */