summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-09-04 08:18:15 +0000
committerDmitry Stogov <dmitry@php.net>2006-09-04 08:18:15 +0000
commit75876d57beb4aba5525a955851f96fd682dc07b4 (patch)
tree99286b26cb6d524898de606a2e33d935bc6345aa /TSRM
parenta5107c18035d2ca53e26bf425790aee2ad8fd56e (diff)
downloadphp-git-75876d57beb4aba5525a955851f96fd682dc07b4.tar.gz
Fixed VIRTUAL_DIR inconsistency
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index b92f0f2875..33476e5ce3 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -37,8 +37,14 @@
#include <stdarg.h>
#endif
+#ifdef ZTS
+#define VIRTUAL_DIR
+#endif
+
#ifndef TSRM_WIN32
#include <unistd.h>
+#else
+#include <direct.h>
#endif
#if defined(__osf__) || defined(_AIX)