summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-10-04 09:56:52 +0000
committerThies C. Arntzen <thies@php.net>1999-10-04 09:56:52 +0000
commit0dbabb987122f80f4a9baa085d3b82649eaa96a3 (patch)
treebf0c441c8cc3baa10431b4fa8663bc95449a2bcf
parent0fe632bcee6199ad1d873bb4061870450b4cdaf0 (diff)
downloadphp-git-0dbabb987122f80f4a9baa085d3b82649eaa96a3.tar.gz
"cc -32" on IRIX 6.4 does not like (PHP_TRACK_VARS?"1":"0") - at least not if PHP_TRACK_VARS is 0.
-rw-r--r--main/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index b92b4acb0a..e0722743ea 100644
--- a/main/main.c
+++ b/main/main.c
@@ -227,7 +227,12 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("max_execution_time", "30", PHP_INI_ALL, OnChangeMaxExecutionTime)
PHP_INI_ENTRY("memory_limit", "8388608", PHP_INI_ALL, OnChangeMemoryLimit)
- STD_PHP_INI_BOOLEAN("track_vars", (PHP_TRACK_VARS?"1":"0"), PHP_INI_ALL, OnUpdateBool, track_vars, php_core_globals, core_globals)
+#if PHP_TRACK_VARS /* "cc -32" on IRIX 6.4 does not like (PHP_TRACK_VARS?"1":"0") - thies 991004 */
+ STD_PHP_INI_BOOLEAN("track_vars", "1", PHP_INI_ALL, OnUpdateBool, track_vars, php_core_globals, core_globals)
+#ese
+ STD_PHP_INI_BOOLEAN("track_vars", "0", PHP_INI_ALL, OnUpdateBool, track_vars, php_core_globals, core_globals)
+#endif
+
STD_PHP_INI_BOOLEAN("gpc_globals", "1", PHP_INI_ALL, OnUpdateBool, gpc_globals, php_core_globals, core_globals)
STD_PHP_INI_ENTRY("gpc_order", "GPC", PHP_INI_ALL, OnUpdateStringUnempty, gpc_order, php_core_globals, core_globals)
STD_PHP_INI_ENTRY("arg_separator", "&", PHP_INI_ALL, OnUpdateStringUnempty, arg_separator, php_core_globals, core_globals)