Commit b205525d authored by Yang Tse's avatar Yang Tse
Browse files

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.
parent 654b6b6c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -115,6 +115,10 @@
#endif

#ifdef USE_ARES
#  if defined(CURL_STATICLIB) && !defined(CARES_STATICLIB) && \
     (defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__))
#    define CARES_STATICLIB
#  endif
#  include <ares.h>
#endif