summaryrefslogtreecommitdiff
path: root/third_party/libtiff/tiffconf.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-07 16:21:33 -0800
committerLei Zhang <thestig@chromium.org>2016-01-07 16:21:33 -0800
commitab90f33999b122170f030aa25ef9c72f50286b09 (patch)
treecdf3c63608b2964521cfbe5c204c3ac381eba227 /third_party/libtiff/tiffconf.h
parent77689daf3e14d7005e66e729a63eac1bd8567876 (diff)
downloadpdfium-ab90f33999b122170f030aa25ef9c72f50286b09.tar.xz
XFA: Fix Windows build after upgrading libtiff.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1570443007 .
Diffstat (limited to 'third_party/libtiff/tiffconf.h')
-rw-r--r--third_party/libtiff/tiffconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/libtiff/tiffconf.h b/third_party/libtiff/tiffconf.h
index fab7e0d27f..eb9161ded1 100644
--- a/third_party/libtiff/tiffconf.h
+++ b/third_party/libtiff/tiffconf.h
@@ -57,7 +57,11 @@
#define SIZEOF_UNSIGNED_LONG 4
#endif
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ && _MSC_VER < 1900
+#define HAVE_SNPRINTF 0
+#else
#define HAVE_SNPRINTF 1
+#endif
/* Signed 8-bit type */
#define TIFF_INT8_T signed char