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:
Родитель
654b6b6c63
Коммит
b205525d34
|
@ -115,7 +115,11 @@
|
|||
#endif
|
||||
|
||||
#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
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
|
Загрузка…
Ссылка в новой задаче