summaryrefslogtreecommitdiff
path: root/third_party/libtiff/tiffiop.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/tiffiop.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/tiffiop.h')
-rw-r--r--third_party/libtiff/tiffiop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/libtiff/tiffiop.h b/third_party/libtiff/tiffiop.h
index c647b8df3b..f4b2ea480a 100644
--- a/third_party/libtiff/tiffiop.h
+++ b/third_party/libtiff/tiffiop.h
@@ -59,8 +59,7 @@ extern void *lfind(const void *, const void *, size_t *, size_t,
#if !defined(HAVE_SNPRINTF) && !defined(HAVE__SNPRINTF)
#undef snprintf
-#define snprintf _TIFF_snprintf_f
-extern int snprintf(char* str, size_t size, const char* format, ...);
+#define snprintf FXSYS_snprintf
#endif
#include "tiffio.h"