summaryrefslogtreecommitdiff
path: root/third_party/libtiff/0001-build-config.patch
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-07-27 15:52:36 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-27 21:18:34 +0000
commitd4362fe972442cfd2d6aa9b32134240c0ddaa6c5 (patch)
tree5975131a491697ccbb3f78b37e27cffe3e315ce5 /third_party/libtiff/0001-build-config.patch
parent33805cc811c722a0c5cd439cff419de252cd39c9 (diff)
downloadpdfium-d4362fe972442cfd2d6aa9b32134240c0ddaa6c5.tar.xz
Define SIZEOF_VOIDP and other cleanup in tiffconf
This CL uses sizeof to calculate sizes in tiffconf. It adds SIZEOF_VOIDP to allow LibTIFF to take codepaths reducing OOMs. Finally, it gets rid of _FX_WIN32_MOBILE_ since it's never defined. Bug: chromium:718494 Change-Id: I9e6fb2812487ccd7d08e56fd1954c716ddccd07b Reviewed-on: https://pdfium-review.googlesource.com/9410 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'third_party/libtiff/0001-build-config.patch')
-rw-r--r--third_party/libtiff/0001-build-config.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/third_party/libtiff/0001-build-config.patch b/third_party/libtiff/0001-build-config.patch
deleted file mode 100644
index c393154658..0000000000
--- a/third_party/libtiff/0001-build-config.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/third_party/libtiff/tiffconf.h b/third_party/libtiff/tiffconf.h
-index bcc0bc5..ca749da 100644
---- a/third_party/libtiff/tiffconf.h
-+++ b/third_party/libtiff/tiffconf.h
-@@ -39,7 +39,11 @@
- //fx_system.h already include the string.h in ANSIC
-
- /* Define to 1 if you have the <search.h> header file. */
--/*#define HAVE_SEARCH_H 1 */
-+#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ && _MSC_VER >= 1900
-+// search.h is always available in VS 2015 and above, and may be
-+// available in earlier versions.
-+#define HAVE_SEARCH_H 1
-+#endif
-
- /* The size of a `int', as computed by sizeof. */
- /* According typedef int int32_t; in the fx_system.h*/