| Index: third_party/libtiff/0001-build-config.patch
|
| diff --git a/third_party/libtiff/0001-build-config.patch b/third_party/libtiff/0001-build-config.patch
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c393154658d38b17068720a2cf45af43af3f4838
|
| --- /dev/null
|
| +++ b/third_party/libtiff/0001-build-config.patch
|
| @@ -0,0 +1,17 @@
|
| +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*/
|
|
|