]> granicus.if.org Git - php/commitdiff
- This slipped in. Enable VIRTUAL_DIR when we're in ZTS. Eventually it
authorAndi Gutmans <andi@php.net>
Fri, 7 Apr 2000 10:26:28 +0000 (10:26 +0000)
committerAndi Gutmans <andi@php.net>
Fri, 7 Apr 2000 10:26:28 +0000 (10:26 +0000)
  should always be enabled.

main/php.h

index 8a781c43ac983d029ec72a298518b8dcabd46cd4..0bef27dd4f997225a87a4708bd37ff6812ab6d72 100644 (file)
@@ -284,7 +284,10 @@ PHPAPI int cfg_get_string(char *varname, char **result);
 #define PUTS_H(str)                                    php_header_write((str), strlen((str)))
 #define PUTC_H(c)                                      (php_header_write(&(c), 1), (c))
 
+#ifdef ZTS
 #define VIRTUAL_DIR
+#endif
+
 /* Virtual current directory support */
 #ifdef VIRTUAL_DIR
 #include "php_virtual_cwd.h"