aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorhjfbswb <hjfbswb@126.com>2019-07-31 16:31:22 +0800
committerAndy Green <andy@warmcat.com>2019-08-01 18:05:30 +0100
commit119fddbacb5c035cd63acdda936c0878daf2fb56 (patch)
tree4b2a1486bb97583f628137ad9cd98ad80c9d262b /cmake
parenta60e60bc297013e8bf27f2be9bc7d5f221d40140 (diff)
downloadlibwebsockets-119fddbacb5c035cd63acdda936c0878daf2fb56.tar.gz
solve compilation problems on vs2012
Diffstat (limited to 'cmake')
-rw-r--r--cmake/lws_config_private.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/lws_config_private.h.in b/cmake/lws_config_private.h.in
index 22afd64e..8ac12bf7 100644
--- a/cmake/lws_config_private.h.in
+++ b/cmake/lws_config_private.h.in
@@ -119,3 +119,8 @@
#cmakedefine LWS_WITH_ZLIB
#cmakedefine LWS_HAS_PTHREAD_SETNAME_NP
+/* Defined if you have the <inttypes.h> header file. */
+#cmakedefine LWS_HAVE_INTTYPES_H
+
+#cmakedefine LWS_HAVE_SNPRINTF
+#cmakedefine LWS_HAVE__SNPRINTF