summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2021-02-03 20:22:58 +0000
committerRoger Leigh <rleigh@codelibre.net>2021-02-04 18:09:49 +0000
commit7b0da6ca6011d8f4a8d8cfc032360fe564cd2774 (patch)
treecbf3876fc11617ac7949f0bfaf2e0999f4ca17fb
parent39fa8a04ee96853ab4cc8e51ca14bec7dfb570fb (diff)
downloadlibtiff-git-7b0da6ca6011d8f4a8d8cfc032360fe564cd2774.tar.gz
NMake fixes for size type formatting
-rw-r--r--libtiff/Makefile.vc2
-rw-r--r--libtiff/tif_config.vc.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/libtiff/Makefile.vc b/libtiff/Makefile.vc
index 5aac3310..7d79e132 100644
--- a/libtiff/Makefile.vc
+++ b/libtiff/Makefile.vc
@@ -78,7 +78,7 @@ OBJ = \
all: libtiff.lib $(DLLNAME)
-tif_config.h: tif_config.vc.h
+tif_config.h: tif_config.vc.h tiffconf.h
copy tif_config.vc.h tif_config.h
tiffconf.h: tiffconf.vc.h
diff --git a/libtiff/tif_config.vc.h b/libtiff/tif_config.vc.h
index 8413c826..8a1b7de8 100644
--- a/libtiff/tif_config.vc.h
+++ b/libtiff/tif_config.vc.h
@@ -58,6 +58,9 @@
#endif
+/* Size type formatter */
+#define TIFF_SIZE_FORMAT "zu"
+
/* Set the native cpu bit order */
#define HOST_FILLORDER FILLORDER_LSB2MSB