summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
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"