From: Anantha Kesari H Y Date: Fri, 29 Jul 2005 09:20:32 +0000 (+0000) Subject: In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket... X-Git-Tag: RELEASE_2_0_0~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e3d9e941e2cab3581e56a7f377e76da17b005a2;p=php In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket.h is not desirable. --Kamesh --- diff --git a/Zend/acconfig.h b/Zend/acconfig.h index 6df692ca49..29d4f783e2 100644 --- a/Zend/acconfig.h +++ b/Zend/acconfig.h @@ -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