hyanantha Thu Oct 24 07:16:10 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/standard http_fopen_wrapper.c
Log:
NetWare related changes/modifications.
Index: php4/ext/standard/http_fopen_wrapper.c
diff -u php4/ext/standard/http_fopen_wrapper.c:1.23.2.2
php4/ext/standard/http_fopen_wrapper.c:1.23.2.3
--- php4/ext/standard/http_fopen_wrapper.c:1.23.2.2 Wed Jul 10 22:41:52 2002
+++ php4/ext/standard/http_fopen_wrapper.c Thu Oct 24 07:16:10 2002
@@ -17,7 +17,7 @@
| Hartmut Holzgraefe <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.23.2.2 2002/07/11 02:41:52 sniper Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.23.2.3 2002/10/24 11:16:10 hyanantha Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -35,6 +35,14 @@
#include <winsock.h>
#define O_RDONLY _O_RDONLY
#include "win32/param.h"
+#elif defined(NETWARE)
+/*#include <ws2nlm.h>*/
+/*#include <sys/socket.h>*/
+#ifdef NEW_LIBC
+#include <sys/param.h>
+#else
+#include "netware/param.h"
+#endif
#else
#include <sys/param.h>
#endif
@@ -48,6 +56,9 @@
#ifdef PHP_WIN32
#include <winsock.h>
+#elif defined(NETWARE) && defined(USE_WINSOCK)
+/*#include <ws2nlm.h>*/
+#include <novsock2.h>
#else
#include <netinet/in.h>
#include <netdb.h>
@@ -56,7 +67,7 @@
#endif
#endif
-#if defined(PHP_WIN32) || defined(__riscos__)
+#if defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE)
#undef AF_UNIX
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php