https://github.com/libsdl-org/libtiff/commit/d5a6add9479cedaf334b9db1d34fb4ba89a6d433
From d5a6add9479cedaf334b9db1d34fb4ba89a6d433 Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <[EMAIL REDACTED]>
Date: Thu, 27 Aug 2009 23:42:09 +0000
Subject: [PATCH] * libtiff/tif_config.vc.h: tiffiop.h needs the TIFF_INT64_T
and TIFF_UINT64_T defines in order to compile. Copy existing definitions
from tiffconf.vc.h.
---
ChangeLog | 6 ++++++
libtiff/tif_config.vc.h | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 12c01a87..f4e1c2a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
+ * libtiff/tif_config.vc.h: tiffiop.h needs the TIFF_INT64_T and
+ TIFF_UINT64_T defines in order to compile. Copy existing
+ definitions from tiffconf.vc.h.
+
2009-08-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
diff --git a/libtiff/tif_config.vc.h b/libtiff/tif_config.vc.h
index fa16a198..d9caecf5 100644
--- a/libtiff/tif_config.vc.h
+++ b/libtiff/tif_config.vc.h
@@ -32,6 +32,12 @@
/* The size of a `long', as computed by sizeof. */
#define SIZEOF_LONG 4
+/* Signed 64-bit type */
+#define TIFF_INT64_T signed __int64
+
+/* Unsigned 64-bit type */
+#define TIFF_UINT64_T unsigned __int64
+
/* Set the native cpu bit order */
#define HOST_FILLORDER FILLORDER_LSB2MSB