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:
f0a16ce
)
MSVC from 2015 up has vsnprintf
author
OndraCo
<OndraCo@gmail.com>
Thu, 5 May 2016 23:50:44 +0000
(07:50 +0800)
committer
Andy Green
<andy@warmcat.com>
Thu, 5 May 2016 23:50:44 +0000
(07:50 +0800)
lib/private-libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/private-libwebsockets.h
b/lib/private-libwebsockets.h
index
9ef1994
..
cb1976b
100644
(file)
--- a/
lib/private-libwebsockets.h
+++ b/
lib/private-libwebsockets.h
@@
-87,7
+87,7
@@
#define __func__ __FUNCTION__
#endif
-#if
defined(_MSC_VER
) || defined(_WIN32_WCE)
+#if
(defined(_MSC_VER) && _MSC_VER < 1900
) || defined(_WIN32_WCE)
#define vsnprintf _vsnprintf
#else
#ifdef LWS_HAVE__VSNPRINTF