vcpkg/ports/soci/no-define-snprintf.patch
2018-05-22 03:53:27 -07:00

15 lines
383 B
Diff

diff --git a/src/core/soci-platform.h b/src/core/soci-platform.h
index aa5e4b1..2d8c5c7 100644
--- a/src/core/soci-platform.h
+++ b/src/core/soci-platform.h
@@ -24,7 +24,9 @@
#endif
// Define if you have the snprintf variants.
+#if _MSC_VER < 1900
#define snprintf _snprintf
+#endif
// Define if you have the strtoll and strtoull variants.
#if _MSC_VER < 1300