config.h.cmake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 38ff3736576b81be51eb11454862f83d1c3f3d0e
Author: Adrian Johnson <[email protected]>
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
 
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to