Skip to content
Snippets Groups Projects
Commit 5db30a1d authored by Yang Tse's avatar Yang Tse
Browse files

version: linkage fix

Fix linkage on c-ares enabled Windows static builds
parent 664ff306
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,11 @@
#include <curl/mprintf.h>
#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
#ifdef USE_LIBIDN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment