summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSam Ruby <rubys@php.net>1999-12-07 16:28:27 +0000
committerSam Ruby <rubys@php.net>1999-12-07 16:28:27 +0000
commit8fdd3524048abdc4efd786e179392ab093798560 (patch)
treef271e10ba7773fc6fac9d65fd3bf314e32030479 /ext
parent4f52bab52fee1270cec46acc7cc1e4256ba0a015 (diff)
downloadphp-git-8fdd3524048abdc4efd786e179392ab093798560.tar.gz
fixed just enough to enable assert to build on win32 and Linux/ZTS
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/assert.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/standard/assert.c b/ext/standard/assert.c
index 8359b3d057..5c09a4b839 100644
--- a/ext/standard/assert.c
+++ b/ext/standard/assert.c
@@ -82,10 +82,15 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("assert.callback", NULL, PHP_INI_ALL, NULL)
PHP_INI_END()
+static void php_assert_init_globals(php_assert_globals *assert_globals)
+{
+}
+
PHP_MINIT_FUNCTION(assert)
{
#ifdef ZTS
+ ELS_FETCH();
assert_globals_id = ts_allocate_id(sizeof(php_assert_globals), (ts_allocate_ctor) php_assert_init_globals, NULL);
#endif