Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: third_party/libtiff/0001-build-config.patch

Issue 1781043005: Set HAVE_SEARCH_H so that pdfium/xfa builds with VS 2015 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adding patch file and updating README.pdfium Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libtiff/README.pdfium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/libtiff/tiffconf.h b/third_party/libtiff/tiffconf.h
2 index bcc0bc5..ca749da 100644
3 --- a/third_party/libtiff/tiffconf.h
4 +++ b/third_party/libtiff/tiffconf.h
5 @@ -39,7 +39,11 @@
6 //fx_system.h already include the string.h in ANSIC
7
8 /* Define to 1 if you have the <search.h> header file. */
9 -/*#define HAVE_SEARCH_H 1 */
10 +#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ && _MSC_VER >= 1900
11 +// search.h is always available in VS 2015 and above, and may be
12 +// available in earlier versions.
13 +#define HAVE_SEARCH_H 1
14 +#endif
15
16 /* The size of a `int', as computed by sizeof. */
17 /* According typedef int int32_t; in the fx_system.h*/
OLDNEW
« no previous file with comments | « no previous file | third_party/libtiff/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698