summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2004-09-25 15:23:35 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2004-09-25 15:23:35 +0000
commit6692794433695b27c7ef4dfbc012ce7f3d79adb9 (patch)
tree7ffaa593da431cb9aab8437a383ad44cdfd5afe2 /ext
parent78ecac2569f1144c9a063faa9abbc2519dafb6ab (diff)
downloadphp-git-6692794433695b27c7ef4dfbc012ce7f3d79adb9.tar.gz
removed redundance LIBC checks for NETWARE
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/pageinfo.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c
index 9f02be2be5..af5f939a70 100644
--- a/ext/standard/pageinfo.c
+++ b/ext/standard/pageinfo.c
@@ -64,11 +64,7 @@ extern int basic_globals_id;
*/
PHPAPI void php_statpage(TSRMLS_D)
{
-#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
- struct stat_libc *pstat;
-#else
struct stat *pstat;
-#endif
pstat = sapi_get_stat(TSRMLS_C);
@@ -77,8 +73,8 @@ PHPAPI void php_statpage(TSRMLS_D)
BG(page_uid) = pstat->st_uid;
BG(page_gid) = pstat->st_gid;
BG(page_inode) = pstat->st_ino;
-#if defined(NETWARE) && defined(NEW_LIBC)
- BG(page_mtime) = (pstat->st_mtime).tv_nsec;
+#ifdef NETWARE
+ BG(page_mtime) = (pstat->st_mtime).tv_sec;
#else
BG(page_mtime) = pstat->st_mtime;
#endif