hyanantha Mon Sep 9 06:56:28 2002 EDT
Modified files:
/php4/main fopen_wrappers.c
Log:
NetWare related changes/modifications
Index: php4/main/fopen_wrappers.c
diff -u php4/main/fopen_wrappers.c:1.146 php4/main/fopen_wrappers.c:1.147
--- php4/main/fopen_wrappers.c:1.146 Sun Aug 25 14:45:02 2002
+++ php4/main/fopen_wrappers.c Mon Sep 9 06:56:28 2002
@@ -16,7 +16,7 @@
| Jim Winstead <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen_wrappers.c,v 1.146 2002/08/25 18:45:02 helly Exp $ */
+/* $Id: fopen_wrappers.c,v 1.147 2002/09/09 10:56:28 hyanantha Exp $ */
/* {{{ includes
*/
@@ -36,6 +36,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
@@ -49,6 +57,8 @@
#if HAVE_PWD_H
#ifdef PHP_WIN32
#include "win32/pwd.h"
+#elif defined(NETWARE)
+#include "netware/pwd.h"
#else
#include <pwd.h>
#endif
@@ -65,6 +75,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>
@@ -73,7 +86,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