]> granicus.if.org Git - php/commitdiff
removing redundant NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Tue, 28 Jun 2005 13:46:45 +0000 (13:46 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Tue, 28 Jun 2005 13:46:45 +0000 (13:46 +0000)
ext/snmp/snmp.c
ext/standard/flock_compat.c

index 35aaa67f891811ba8bdc00b6533589d6e3ac7a84..171d4252213c9ed4bd8f19e6b98d51b93b38b6c4 100644 (file)
 #include "win32/time.h"
 #elif defined(NETWARE)
 #ifdef USE_WINSOCK
-/*#include <ws2nlm.h>*/
 #include <novsock2.h>
 #else
 #include <sys/socket.h>
 #endif
 #include <errno.h>
-/*#include <process.h>*/
-#ifdef NEW_LIBC
 #include <sys/timeval.h>
 #else
-#include "netware/time_nw.h"
-#endif
-#else
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
index 373f43f9cd7e86df2591d458b3e0366cc1387a90..0b1d0b1c222a2bab36fb30947598dfd18542cb54 100644 (file)
 #endif
 
 #ifdef NETWARE
-#ifdef NEW_LIBC
 #include <netinet/in.h>
-#else
-#include <sys/socket.h>
-#endif
 #endif
 
 #ifndef HAVE_FLOCK