From: Sascha Schumann Date: Fri, 26 Nov 1999 22:37:45 +0000 (+0000) Subject: Kill undefined reference X-Git-Tag: PRE_RETURN_REF_PATCH~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a851b5d038d317f8cce1a591b1f36ac4973224f;p=php Kill undefined reference --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index a4f09ecfed..e5a7677e33 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -71,6 +71,10 @@ typedef struct _php_shutdown_function_entry { int arg_count; } php_shutdown_function_entry; +#ifdef ZTS +#undef HAVE_PUTENV +#endif + /* some prototypes for local functions */ int user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_entry); void php3_call_shutdown_functions(void); @@ -324,10 +328,6 @@ php3_module_entry basic_functions_module = { STANDARD_MODULE_PROPERTIES }; -#ifdef ZTS -#undef HAVE_PUTENV -#endif - #if defined(HAVE_PUTENV) static HashTable putenv_ht;