Fix libtiff build with Visual Studio 2010

This commit is contained in:
mayeut 2015-07-26 18:49:22 +02:00
parent 012f22958a
commit 85904a3291
1 changed files with 5 additions and 0 deletions

View File

@ -380,6 +380,11 @@
/* Define to empty if `const' does not conform to ANSI C. */
#cmakedefine const
/* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus