From: Daniel Stenberg Date: Tue, 9 Nov 2004 18:10:51 +0000 (+0000) Subject: fix CURL_EXTERN for debug builds X-Git-Tag: curl-7_12_3~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8688b8dcac017df5782ea02e85761805954d84;p=thirdparty%2Fcurl.git fix CURL_EXTERN for debug builds --- diff --git a/ares/ares_private.h b/ares/ares_private.h index 47ec4022fb..98fd837010 100644 --- a/ares/ares_private.h +++ b/ares/ares_private.h @@ -164,5 +164,9 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize); libcurl lowlevel code from within library is ugly and only works when c-ares is built and linked with a similarly debug-build libcurl, but we do this anyway for convenience. */ +#ifndef CURL_EXTERN +/* ugly hack to make this compile */ +#define CURL_EXTERN +#endif #include "../lib/memdebug.h" #endif