summaryrefslogtreecommitdiff
path: root/src/libtiff
diff options
context:
space:
mode:
authorscuri <scuri>2009-08-21 04:19:30 +0000
committerscuri <scuri>2009-08-21 04:19:30 +0000
commitc25969a20a617c4537fc2a403d1942bfb984ed4b (patch)
tree8ab6c0091fe85ca67e476f29267bd0576fef3d68 /src/libtiff
parent6c39dd63dc4f91b358155c173a2cfdf4c6c5af3e (diff)
*** empty log message ***
Diffstat (limited to 'src/libtiff')
-rw-r--r--src/libtiff/tif_config.h28
1 files changed, 28 insertions, 0 deletions
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 <sys/types.h> does not define. */
/* #undef off_t */