summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-07 10:26:28 +0000
committerAndi Gutmans <andi@php.net>2000-04-07 10:26:28 +0000
commitf118d947838d580ef0b579bb3bcba4baf2fce006 (patch)
treef2da7ad48c020c51cca04b4dfca82d8ae8ebe67e /main/php.h
parent89f99967b85921e25bf182f18a68bfc55fd984f9 (diff)
downloadphp-git-f118d947838d580ef0b579bb3bcba4baf2fce006.tar.gz
- This slipped in. Enable VIRTUAL_DIR when we're in ZTS. Eventually it
should always be enabled.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 8a781c43ac..0bef27dd4f 100644
--- a/main/php.h
+++ b/main/php.h
@@ -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"