]> granicus.if.org Git - php/commitdiff
In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket...
authorAnantha Kesari H Y <hyanantha@php.net>
Fri, 29 Jul 2005 09:20:32 +0000 (09:20 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Fri, 29 Jul 2005 09:20:32 +0000 (09:20 +0000)
--Kamesh

Zend/acconfig.h

index 6df692ca490e5387d6d159480388ab428ad4dcc1..29d4f783e2341f06ca5cafded76d158e1b069e11 100644 (file)
@@ -105,6 +105,13 @@ int zend_sprintf(char *buffer, const char *format, ...);
 
 #endif /* ifndef ZEND_ACCONFIG_H_NO_C_PROTOS */
 
+#ifdef NETWARE
+#ifdef USE_WINSOCK
+#/*This detection against winsock is of no use*/ undef HAVE_SOCKLEN_T
+#/*This detection against winsock is of no use*/ undef HAVE_SYS_SOCKET_H
+#endif
+#endif
+
 /*
  * Local variables:
  * tab-width: 4