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:
8d8e9be
)
windows: fix snprintf vs _snprintf
author
Andy Green
<andy@warmcat.com>
Mon, 26 Sep 2016 22:55:58 +0000
(06:55 +0800)
committer
Andy Green
<andy@warmcat.com>
Mon, 26 Sep 2016 22:55:58 +0000
(06:55 +0800)
lib/libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.h
b/lib/libwebsockets.h
index a330ba154774cb8d4d6f079d56d5e7f898062f35..2957cd0b6a6727828d13f70420081a368a66fa38 100644
(file)
--- a/
lib/libwebsockets.h
+++ b/
lib/libwebsockets.h
@@
-146,7
+146,7
@@
struct sockaddr_in;
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE
#define LWS_O_RDONLY _O_RDONLY
-#define
lws_
snprintf _snprintf
+#define snprintf _snprintf
#else /* NOT WIN32 */
#include <unistd.h>