gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32486 - libmicrohttpd/src/include


From: gnunet
Subject: [GNUnet-SVN] r32486 - libmicrohttpd/src/include
Date: Wed, 26 Feb 2014 18:55:34 +0100

Author: Karlson2k
Date: 2014-02-26 18:55:34 +0100 (Wed, 26 Feb 2014)
New Revision: 32486

Modified:
   libmicrohttpd/src/include/microhttpd.h
Log:
Improve header compatibility with MSVC

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2014-02-26 17:55:27 UTC (rev 
32485)
+++ libmicrohttpd/src/include/microhttpd.h      2014-02-26 17:55:34 UTC (rev 
32486)
@@ -107,12 +107,16 @@
 #ifndef MHD_PLATFORM_H
 #include <stdarg.h>
 #include <stdint.h>
+#include <sys/types.h>
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #include <ws2tcpip.h>
+#if defined(_MSC_FULL_VER) && !defined (_SSIZE_T_DEFINED)
+#define _SSIZE_T_DEFINED
+typedef intptr_t ssize_t;
+#endif // !_SSIZE_T_DEFINED */
 #else
 #include <unistd.h>
 #include <sys/time.h>
-#include <sys/types.h>
 #include <sys/socket.h>
 #endif
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]