hyanantha               Thu Oct 24 07:15:33 2002 EDT

  Modified files:              (Branch: PHP_4_2_0)
    /php4/ext/standard  ftp_fopen_wrapper.c 
  Log:
  NetWare related changes/modifications.
  
  
Index: php4/ext/standard/ftp_fopen_wrapper.c
diff -u php4/ext/standard/ftp_fopen_wrapper.c:1.14 
php4/ext/standard/ftp_fopen_wrapper.c:1.14.2.1
--- php4/ext/standard/ftp_fopen_wrapper.c:1.14  Thu Feb 28 03:26:45 2002
+++ php4/ext/standard/ftp_fopen_wrapper.c       Thu Oct 24 07:15:33 2002
@@ -17,7 +17,7 @@
    |          Hartmut Holzgraefe <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $Id: ftp_fopen_wrapper.c,v 1.14 2002/02/28 08:26:45 sebastian Exp $ */
+/* $Id: ftp_fopen_wrapper.c,v 1.14.2.1 2002/10/24 11:15:33 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

Reply via email to