mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:47:15 +03:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue