* libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward

Lam to define HAVE_SNPRINTF for Visual Studio 2015.
This commit is contained in:
Bob Friesenhahn 2016-05-10 01:01:09 +00:00
parent 958d9b5a8d
commit d7aa10673b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-05-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward
Lam to define HAVE_SNPRINTF for Visual Studio 2015.
2016-04-27 Even Rouault <even.rouault at spatialys.com> 2016-04-27 Even Rouault <even.rouault at spatialys.com>
* libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD, * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD,

View File

@ -107,6 +107,8 @@
/* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */ /* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
#if defined(_MSC_VER) && _MSC_VER < 1900 #if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf #define snprintf _snprintf
#else
#define HAVE_SNPRINTF
#endif #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