]> granicus.if.org Git - php/commitdiff
NetWare LibC has lstat
authorAnantha Kesari H Y <hyanantha@php.net>
Fri, 11 Mar 2005 11:09:42 +0000 (11:09 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Fri, 11 Mar 2005 11:09:42 +0000 (11:09 +0000)
TSRM/tsrm_virtual_cwd.c
TSRM/tsrm_virtual_cwd.h

index 47040801195f7f534ab07b3be28e72e151234647..ee8262495f5f22c85f6f78e5267b5c03caf43667 100644 (file)
@@ -746,7 +746,7 @@ CWD_API int virtual_stat(const char *path, struct stat_libc *buf TSRMLS_DC)
 }
 #endif
 
-#if !defined(TSRM_WIN32) && !defined(NETWARE)
+#ifndef TSRM_WIN32
 CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC)
 {
        cwd_state new_state;
index bcfb9a08a7c3b1d44bc8407067ed0eef16915c3a..3fc5475544ef98c70f13f465b42aed7d5c24436b 100644 (file)
@@ -229,7 +229,7 @@ typedef struct _virtual_cwd_globals {
 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC)
 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC)
 #define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)
-#if !defined(TSRM_WIN32) && !defined(NETWARE)
+#ifndef TSRM_WIN32
 #define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
 #endif
 #define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC)