applied fix from Rob Richards to compile on Windows. Daniel
* nanoftp.c: applied fix from Rob Richards to compile on Windows.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 0209694..ddbadf4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Apr 5 23:48:35 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+ * nanoftp.c: applied fix from Rob Richards to compile on Windows.
+
Tue Apr 5 17:02:58 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Added "Type Derivation OK (Complex)" constraints
diff --git a/nanoftp.c b/nanoftp.c
index e4319cf..338802e 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -94,9 +94,6 @@
#endif
#define SOCKET int
#endif
-#if defined(VMS) || defined(__VMS)
-#define XML_SOCKLEN_T unsigned int
-#endif
#ifdef __BEOS__
#ifndef PF_INET
@@ -108,6 +105,10 @@
#define ss_family __ss_family
#endif
+#ifndef XML_SOCKLEN_T
+#define XML_SOCKLEN_T unsigned int
+#endif
+
#define FTP_COMMAND_OK 200
#define FTP_SYNTAX_ERROR 500
#define FTP_GET_PASSWD 331