[poppler] config.h.cmake
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sat Nov 28 13:38:08 PST 2015
config.h.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 38ff3736576b81be51eb11454862f83d1c3f3d0e
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Nov 29 08:06:14 2015 +1030
Visual Studio 2015 now supports snprintf
Bug 93116
diff --git a/config.h.cmake b/config.h.cmake
index 400b16b..440a13d 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -219,8 +219,8 @@
#define HAVE_BOOLEAN
#endif
-/* MS has defined snprintf as deprecated */
-#ifdef _MSC_VER
+/* MS defined snprintf as deprecated but then added it in Visual Studio 2015. */
+#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
More information about the poppler
mailing list