diff options
Diffstat (limited to 'tiff')
-rw-r--r-- | tiff/libtiff/tif_config.vc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tiff/libtiff/tif_config.vc.h b/tiff/libtiff/tif_config.vc.h index c297cf3c4..b97cf51b5 100644 --- a/tiff/libtiff/tif_config.vc.h +++ b/tiff/libtiff/tif_config.vc.h @@ -47,7 +47,12 @@ /* Set the native cpu bit order */ #define HOST_FILLORDER FILLORDER_LSB2MSB -#define snprintf _snprintf +#if defined(_MSC_VER) && _MSC_VER>=1900 +# define STDC99 +#else +# define snprintf _snprintf +#endif + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ |