From 6a5b7872c838ba9e24ea6e1f9a306bb95a80ae6c Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 3 Aug 2017 16:13:40 -0400 Subject: LibTIFF: fix defines in tiffconf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL hardcodes the defines used in tiffconf so that the values can be used inside of '#if'. The CL that changed them was: https://pdfium-review.googlesource.com/c/9410 SIZEOF_VOIDP was a new variable in that CL. This CL uses __LP64__ to detect whether this value should be set to 8 or to 4. Bug: chromium:718494 Change-Id: I628d64cb7e2e94c47b8bcc1856abf5949d6578d4 Reviewed-on: https://pdfium-review.googlesource.com/10090 Reviewed-by: Tom Sepez Commit-Queue: Nicolás Peña --- third_party/libtiff/README.pdfium | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/libtiff/README.pdfium') diff --git a/third_party/libtiff/README.pdfium b/third_party/libtiff/README.pdfium index 80cc6371f4..39a8b5f025 100644 --- a/third_party/libtiff/README.pdfium +++ b/third_party/libtiff/README.pdfium @@ -16,3 +16,4 @@ Local Modifications: 0017-safe_skews_in_gtTileContig.patch: return error if to/from skews overflow from int32. 0025-upstream-OOM-gtTileContig: allocates the decoded buffer only after a first successful TIFFFillStrip. 0026-upstream-null-dereference: properly evit when stoponerr is set and avoid null dereferences. +0027-build-config.patch: #define variables so their value can be used by #if. -- cgit v1.2.3