From: Anantha Kesari H Y Date: Thu, 10 Mar 2005 12:26:14 +0000 (+0000) Subject: NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks X-Git-Tag: php-5.0.4RC1~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c216440f1c56d0a8a6d40bf4ea6375ee6eec80e6;p=php NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks --- diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c index 9f02be2be5..cfa0e94de8 100644 --- a/ext/standard/pageinfo.c +++ b/ext/standard/pageinfo.c @@ -27,11 +27,6 @@ #if HAVE_PWD_H #ifdef PHP_WIN32 #include "win32/pwd.h" -#elif defined(NETWARE) -#ifdef ZTS -extern int basic_globals_id; -#endif -#include "netware/pwd.h" #else #include #endif @@ -77,7 +72,7 @@ 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) +#ifdef NETWARE BG(page_mtime) = (pstat->st_mtime).tv_nsec; #else BG(page_mtime) = pstat->st_mtime;