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

Unified Diff: third_party/libtiff/tiffconf.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libtiff/README.pdfium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libtiff/tiffconf.h
diff --git a/third_party/libtiff/tiffconf.h b/third_party/libtiff/tiffconf.h
index bcc0bc5848cdc53a9703719489de7d5a3e7a4c3e..ca749da3ff8b5c05cf159dc04f9bb3ad9a6041f3 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*/
« no previous file with comments | « third_party/libtiff/README.pdfium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698