diff options
| author | Sam Ruby <rubys@php.net> | 1999-12-07 16:28:27 +0000 |
|---|---|---|
| committer | Sam Ruby <rubys@php.net> | 1999-12-07 16:28:27 +0000 |
| commit | 8fdd3524048abdc4efd786e179392ab093798560 (patch) | |
| tree | f271e10ba7773fc6fac9d65fd3bf314e32030479 /ext/standard | |
| parent | 4f52bab52fee1270cec46acc7cc1e4256ba0a015 (diff) | |
| download | php-git-8fdd3524048abdc4efd786e179392ab093798560.tar.gz | |
fixed just enough to enable assert to build on win32 and Linux/ZTS
Diffstat (limited to 'ext/standard')
| -rw-r--r-- | ext/standard/assert.c | 5 |
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 |
