* libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with

Visual Studio 2015 aka VC 14 aka MSVC 1900
This commit is contained in:
Even Rouault 2014-11-27 17:22:10 +00:00
parent abea4b2b04
commit 8f38bc8e2d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-27 Even Rouault <even.rouault@spatialys.com>
* libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with
Visual Studio 2015 aka VC 14 aka MSVC 1900
2014-11-20 Even Rouault <even.rouault@spatialys.com> 2014-11-20 Even Rouault <even.rouault@spatialys.com>
* libtiff/tif_lzw.c: prevent potential null dereference of * libtiff/tif_lzw.c: prevent potential null dereference of

View File

@ -47,7 +47,10 @@
/* Set the native cpu bit order */ /* Set the native cpu bit order */
#define HOST_FILLORDER FILLORDER_LSB2MSB #define HOST_FILLORDER FILLORDER_LSB2MSB
/* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf #define snprintf _snprintf
#endif
/* Define to 1 if your processor stores words with the most significant byte /* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */ first (like Motorola and SPARC, unlike Intel and VAX). */