| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.09.04 20:41 "Re: tiffsplit.c broken on Windows in trunk", by Toby ThainOn 4-Sep-08, at 5:06 PM, Edward Lam wrote: > Hi Andrey, > > I just updated libtiff and ran into a problem with this revision: > > revision 1.15 > date: 2008/09/03 07:47:26; author: dron; state: Exp; lines: +10 -7 > Get rid of unsafe strcpy()/strcat() calls when doing the filename/path > construction. > > > The problem is that snprintf() is _snprintf() on Windows. I had to > add the following to get it to compile on VC8: > Hmm, anyone else tired of these dirty tricks yet? :( --Toby > #ifdef _WIN32 > #define snprintf _snprintf > #endif > > > Cheers, > -Edward > _______________________________________________ > Tiff mailing list: Tiff@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/tiff > http://www.remotesensing.org/libtiff/ |
|||||||