]> granicus.if.org Git - php/commitdiff
NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 12:26:14 +0000 (12:26 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Thu, 10 Mar 2005 12:26:14 +0000 (12:26 +0000)
ext/standard/pageinfo.c

index 9f02be2be54c513d6761ef936ca8f485e142ea01..cfa0e94de862d649917638a89f4beccbf8b64640 100644 (file)
 #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 <pwd.h>
 #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;