r20147 by jghali - some changes for compatibility with msvc 2015

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 4 22:17:16 UTC 2015


Author: jghali
Date: Thu Jun  4 22:17:16 2015
New Revision: 20147

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20147
Log:
some changes for compatibility with msvc 2015

Modified:
    trunk/Scribus/win32/vc11/win-config.h

Modified: trunk/Scribus/win32/vc11/win-config.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20147&path=/trunk/Scribus/win32/vc11/win-config.h
==============================================================================
--- trunk/Scribus/win32/vc11/win-config.h (original)
+++ trunk/Scribus/win32/vc11/win-config.h Thu Jun  4 22:17:16 2015
@@ -59,9 +59,8 @@
 #define HAVE_REVENGE 1
 
 /* Define to 1 if you have the `snprintf' function. */
-#undef HAVE_SNPRINTF
-#ifdef _MSC_VER
 #define HAVE_SNPRINTF 1
+#if defined(_MSC_VER) && (_MSC_VER < 1900)
 #define snprintf(a, b, c, d) _snprintf(a, b, c, d)
 #endif
 




More information about the scribus-commit mailing list