xref: /trunk/main/curl/curl-7.19.7_mingw.patch (revision cdf0e10c)
1--- misc/curl-7.19.7/lib/setup.h	2009-10-29 05:21:58.000000000 +0900
2+++ misc/build/curl-7.19.7/lib/setup.h	2010-03-02 06:03:10.009500000 +0900
3@@ -40,6 +40,21 @@
4
5 #include "curl_config.h"
6
7+#ifdef __MINGW32__
8+#undef HAVE_DLFCN_H
9+#define HAVE_GETHOSTBYADDR 1
10+#define HAVE_GETHOSTBYNAME 1
11+#undef HAVE_LIBZ
12+#undef HAVE_NETDB_H
13+#undef HAVE_POLL_H
14+#undef HAVE_SYS_IOCTL_H
15+#undef HAVE_SYS_POLL_H
16+#undef HAVE_SYS_UIO_H
17+#undef HAVE_TERMIOS_H
18+#undef HAVE_TERMIO_H
19+#undef HAVE_ZLIB_H
20+#endif
21+
22 #else /* HAVE_CONFIG_H */
23
24 #ifdef _WIN32_WCE
25