mirror of https://github.com/moparisthebest/curl
Take in account c-ares 1.6.1 will use __declspec function decoration
for Win32 and Symbian unless CARES_STATICLIB is defined to use static library linkage.
This commit is contained in:
parent
654b6b6c63
commit
b205525d34
|
@ -115,7 +115,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ARES
|
#ifdef USE_ARES
|
||||||
#include <ares.h>
|
# if defined(CURL_STATICLIB) && !defined(CARES_STATICLIB) && \
|
||||||
|
(defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__))
|
||||||
|
# define CARES_STATICLIB
|
||||||
|
# endif
|
||||||
|
# include <ares.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
Loading…
Reference in New Issue