From c25969a20a617c4537fc2a403d1942bfb984ed4b Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 21 Aug 2009 04:19:30 +0000 Subject: *** empty log message *** --- src/libtiff/tif_config.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src') diff --git a/src/libtiff/tif_config.h b/src/libtiff/tif_config.h index f9db461..3558fe7 100644 --- a/src/libtiff/tif_config.h +++ b/src/libtiff/tif_config.h @@ -253,6 +253,34 @@ #define inline #endif +#ifdef _MSC_VER +#if _MSC_VER>1400 +/* Signed 64-bit type formatter */ +#define TIFF_INT64_FORMAT "%I64d" + +/* Signed 64-bit type */ +#define TIFF_INT64_T signed __int64 + +/* Unsigned 64-bit type formatter */ +#define TIFF_UINT64_FORMAT "%I64u" + +/* Unsigned 64-bit type */ +#define TIFF_UINT64_T unsigned __int64 +//#else +///* Signed 64-bit type formatter */ +//#define TIFF_INT64_FORMAT "%I64d" +// +///* Signed 64-bit type */ +//#define TIFF_INT64_T signed __int64 +// +///* Unsigned 64-bit type formatter */ +//#define TIFF_UINT64_FORMAT "%I64u" +// +///* Unsigned 64-bit type */ +//#define TIFF_UINT64_T unsigned __int64 +#endif +#endif + /* Define to `long' if does not define. */ /* #undef off_t */ -- cgit v1.2.3