Undefine HAVE_PUTENV, if ZTS is used
authorSascha Schumann <sas@php.net>
Fri, 26 Nov 1999 21:20:40 +0000 (21:20 +0000)
committerSascha Schumann <sas@php.net>
Fri, 26 Nov 1999 21:20:40 +0000 (21:20 +0000)
ext/standard/basic_functions.c

index fba5623c95bc95aacce30dad0b0eedfe6e179529..a4f09ecfed239f9f906a98eab97c1400d41edc4d 100644 (file)
@@ -324,7 +324,11 @@ php3_module_entry basic_functions_module = {
        STANDARD_MODULE_PROPERTIES
 };
 
-#if defined(HAVE_PUTENV) && !defined(ZTS)
+#ifdef ZTS
+#undef HAVE_PUTENV
+#endif
+
+#if defined(HAVE_PUTENV)
 static HashTable putenv_ht;
 
 static int _php3_putenv_destructor(putenv_entry *pe)