summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-03-11 11:16:19 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2005-03-11 11:16:19 +0000
commit3fc55e77e6050f09de6c102e663a59b3a9fcec2d (patch)
tree3f02f33f67386bb08552da1f041d0f6abff22425
parenta012d5a5dcb33459194d37186c04d676052a6d6b (diff)
downloadphp-git-3fc55e77e6050f09de6c102e663a59b3a9fcec2d.tar.gz
NetWare LibC has pwd.h and removing redundant CLIB_STAT_PATCH
-rw-r--r--ext/standard/file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index f6974d4e49..1e798fee66 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -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);