summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-07-29 09:20:32 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2005-07-29 09:20:32 +0000
commit3e3d9e941e2cab3581e56a7f377e76da17b005a2 (patch)
tree7d48b32f9bcb621e2c8c7481cead930241a7219b
parent97c460c8137b5b76b08dd9dfd5db004708a09387 (diff)
downloadphp-git-3e3d9e941e2cab3581e56a7f377e76da17b005a2.tar.gz
In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket.h is not desirable.
--Kamesh
-rw-r--r--Zend/acconfig.h7
1 files changed, 7 insertions, 0 deletions
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