]> granicus.if.org Git - php/commitdiff
NetWare LibC has pwd.h and removing redundant CLIB_STAT_PATCH
authorAnantha Kesari H Y <hyanantha@php.net>
Fri, 11 Mar 2005 11:16:19 +0000 (11:16 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Fri, 11 Mar 2005 11:16:19 +0000 (11:16 +0000)
ext/standard/file.c

index f6974d4e491f512a6de93a972d7cc118d5bddfd6..1e798fee66b4907615396c6f7cb68eb1da172d03 100644 (file)
@@ -76,8 +76,6 @@
 #if HAVE_PWD_H
 #ifdef PHP_WIN32
 #include "win32/pwd.h"
-#elif defined(NETWARE)
-#include "netware/pwd.h"
 #else
 #include <pwd.h>
 #endif
@@ -1538,7 +1536,7 @@ PHP_NAMED_FUNCTION(php_if_fstat)
        MAKE_LONG_ZVAL_INCREF(stat_rdev, -1); 
 #endif
        MAKE_LONG_ZVAL_INCREF(stat_size, stat_ssb.sb.st_size);
-#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
+#ifdef NETWARE
        MAKE_LONG_ZVAL_INCREF(stat_atime, stat_ssb.sb.st_atime.tv_sec);
        MAKE_LONG_ZVAL_INCREF(stat_mtime, stat_ssb.sb.st_mtime.tv_sec);
        MAKE_LONG_ZVAL_INCREF(stat_ctime, stat_ssb.sb.st_ctime.tv_sec);