trac 53 mingw ssize_t redef
authorAndy Green <andy.green@linaro.org>
Sat, 15 Feb 2014 04:46:33 +0000 (12:46 +0800)
committerAndy Green <andy.green@linaro.org>
Sat, 15 Feb 2014 04:46:33 +0000 (12:46 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.h

index 2fd78b1..e195b4d 100644 (file)
@@ -43,12 +43,19 @@ extern "C" {
 #define strcasecmp stricmp
 #define getdtablesize() 30000
 
+#ifdef __MINGW64__
+#else
+#ifdef __MINGW32__
+#else
+
 #ifndef __SSIZE_T
 #define __SSIZE_T
 
 typedef SSIZE_T ssize_t;
 
 #endif // __SSIZE_T
+#endif
+#endif
 
 #define LWS_VISIBLE