diff options
| author | Zeev Suraski <zeev@php.net> | 1999-04-21 04:02:11 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-04-21 04:02:11 +0000 |
| commit | c5af324ec328b6d99971d53f7eeef1dae6bd017f (patch) | |
| tree | 2875371c936403d820507124bc3dfa6e2fb27009 /main/configuration-parser.y | |
| parent | 7a87fcbbdac80f77f8b6ceb16436d398019c6091 (diff) | |
| download | php-git-c5af324ec328b6d99971d53f7eeef1dae6bd017f.tar.gz | |
More thread safety work
Diffstat (limited to 'main/configuration-parser.y')
| -rw-r--r-- | main/configuration-parser.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/configuration-parser.y b/main/configuration-parser.y index 20af47b4db..f89987b63b 100644 --- a/main/configuration-parser.y +++ b/main/configuration-parser.y @@ -41,6 +41,9 @@ #include "ext/standard/php3_browscap.h" #include "zend_extensions.h" +#undef YYPARSE_PARAM +#undef YYLEX_PARAM + #if WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> @@ -154,7 +157,7 @@ static void pvalue_browscap_destructor(pval *pvalue) int php3_init_config(void) { - TLS_VARS; + PLS_FETCH(); if (_php3_hash_init(&configuration_hash, 0, NULL, (void (*)(void *))pvalue_config_destructor, 1)==FAILURE) { return FAILURE; |
