config: Add missing define for (v)snprintf functions.
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 11 Feb 2015 16:44:37 +0000 (17:44 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 11 Feb 2015 16:45:11 +0000 (17:45 +0100)
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
config.h.cmake
include/cmocka_private.h

index e6570240821759482934e2f503e9bcb07c5a2e46..1c1c4c1992efa752ccb66f3c4012b61ed92cc3fb 100644 (file)
 /* Define to 1 if you have the `fprintf' function. */
 #cmakedefine HAVE_FPRINTF 1
 
+/* Define to 1 if you have the `snprintf' function. */
+#cmakedefine HAVE_SNPRINTF 1
+
+/* Define to 1 if you have the `_snprintf' function. */
+#cmakedefine HAVE__SNPRINTF 1
+
+/* Define to 1 if you have the `_snprintf_s' function. */
+#cmakedefine HAVE__SNPRINTF_S 1
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#cmakedefine HAVE_VSNPRINTF 1
+
+/* Define to 1 if you have the `_vsnprintf' function. */
+#cmakedefine HAVE__VSNPRINTF 1
+
+/* Define to 1 if you have the `_vsnprintf_s' function. */
+#cmakedefine HAVE__VSNPRINTF_S 1
+
 /* Define to 1 if you have the `free' function. */
 #cmakedefine HAVE_FREE 1
 
index 4b71dfe516fe493a1d2a6e44a06b49a8bd4fd249..1e40c2ccbabff63c96a579223942359bd7387abb 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef CMOCKA_PRIVATE_H_
 #define CMOCKA_PRIVATE_H_
 
+#include "config.h"
+
 #ifdef _WIN32
 #include <windows.h>