• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/third_party/libtiff/tiffconf.h b/third_party/libtiff/tiffconf.h
2index 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*/
18