summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-20 17:58:25 +0000
committerAndi Gutmans <andi@php.net>2000-04-20 17:58:25 +0000
commitc0919bbd41e10a41030e399ed8031cd9371bc422 (patch)
tree54dc227dc49bd337e3bcd2e4f9a36838e04585d7 /main/php.h
parent46a7a05d578d00eab93ad171a99960391e1d6e84 (diff)
downloadphp-git-c0919bbd41e10a41030e399ed8031cd9371bc422.tar.gz
- virtual_lstat() doesn't exist on Windows.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index b13a60c6fe..b7867bfcbf 100644
--- a/main/php.h
+++ b/main/php.h
@@ -295,7 +295,11 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_CHDIR_FILE(path) virtual_chdir_file(path)
#define V_GETWD(buf)
#define V_STAT(path, buff) virtual_stat(path, buff)
+#ifdef PHP_WIN32
+#define V_LSTAT(path, buff) virtual_stat(path, buff)
+#else
#define V_LSTAT(path, buff) virtual_lstat(path, buff)
+#endif
#else
#define V_GETCWD(buff, size) getcwd(buff,size)
#define V_FOPEN(path, mode) fopen(path, mode)