From c216440f1c56d0a8a6d40bf4ea6375ee6eec80e6 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Thu, 10 Mar 2005 12:26:14 +0000 Subject: [PATCH] NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks --- ext/standard/pageinfo.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; -- 2.50.1