projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdcf18
)
trac 53 mingw ssize_t redef
author
Andy Green
<andy.green@linaro.org>
Sat, 15 Feb 2014 04:46:33 +0000
(12:46 +0800)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index
2fd78b1
..
e195b4d
100644
(file)
--- a/
lib/libwebsockets.h
+++ b/
lib/libwebsockets.h
@@
-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