- 2016.05.09 12:36 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
-
2016.05.09 13:43 "Re: [Tiff] snprintf and MSVC 2015", by Jeff McKenna
-
2016.05.09 15:31 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
- 2016.05.09 15:42 "Re: [Tiff] snprintf and MSVC 2015", by Bob Friesenhahn
- 2016.05.09 16:38 "Re: [Tiff] snprintf and MSVC 2015", by
-
2016.05.09 15:31 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
2016.05.09 17:50 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
On 09/05/2016 11:42 AM, Bob Friesenhahn wrote:
A proper patch suitable for inclusion in libtiff CVS (now that it is back) would be appreciated.
Here you go:
$ cvs diff -u tif_config.vc.h
Index: tif_config.vc.h
=================================================================== RCS file: /cvs/maptools/cvsroot/libtiff/libtiff/tif_config.vc.h,v retrieving revision 1.8
diff -u -r1.8 tif_config.vc.h
--- tif_config.vc.h 21 Jun 2015 17:02:12 -0000 1.8
+++ tif_config.vc.h 9 May 2016 17:49:32 -0000
@@ -107,6 +107,8 @@
/* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
+#else
+#define HAVE_SNPRINTF
#endif
/* Define to 1 if your processor stores words with the most significant byte
Cheers,
-Edward