1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

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,6 +33,10 @@
#include <curl/mprintf.h>
#ifdef USE_ARES
# if defined(CURL_STATICLIB) && !defined(CARES_STATICLIB) && \
(defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__))
# define CARES_STATICLIB
# endif
# include <ares.h>
#endif