version: linkage fix

Fix linkage on c-ares enabled Windows static builds
This commit is contained in:
Yang Tse 2011-05-19 11:48:32 +02:00
parent 664ff30650
commit 5db30a1d8c

View File

@ -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