]> granicus.if.org Git - php/commitdiff
- virtual_lstat() doesn't exist on Windows.
authorAndi Gutmans <andi@php.net>
Thu, 20 Apr 2000 17:58:25 +0000 (17:58 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 20 Apr 2000 17:58:25 +0000 (17:58 +0000)
main/php.h

index b13a60c6fe988a0ce0f0c1cc400235be510701d2..b7867bfcbfdeb302c9e3128aa4c5cc76fd412d40 100644 (file)
@@ -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)