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/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