summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_virtual_cwd.h
diff options
context:
space:
mode:
authorMark A. Hershberger <mah@debian.(none)>2009-03-25 00:36:21 -0400
committerMark A. Hershberger <mah@debian.(none)>2009-03-25 00:36:21 -0400
commitd29a4fd2dd3b5d4cf6e80b602544d7b71d794e76 (patch)
treeb38e2e5c6974b9a15f103e5cf884cba9fff90ef4 /TSRM/tsrm_virtual_cwd.h
parenta88a88d0986a4a32288c102cdbfebd78d7e91d99 (diff)
downloadphp-upstream/5.2.0.tar.gz
Imported Upstream version 5.2.0upstream/5.2.0
Diffstat (limited to 'TSRM/tsrm_virtual_cwd.h')
-rw-r--r--TSRM/tsrm_virtual_cwd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index 753ec0207..a43482b21 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.h,v 1.48.2.5 2006/04/10 11:56:18 sniper Exp $ */
+/* $Id: tsrm_virtual_cwd.h,v 1.48.2.5.2.2 2006/10/04 13:24:19 tony2001 Exp $ */
#ifndef VIRTUAL_CWD_H
#define 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)
@@ -167,7 +173,7 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC);
#endif
#if defined(__osf__) || defined(_AIX)
-char *php_realpath_hack(char *src, char *dest);
+char *php_realpath_hack(const char *src, char *dest);
#endif
#if HAVE_UTIME