]> granicus.if.org Git - curl/commitdiff
fix CURL_EXTERN for debug builds
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)
ares/ares_private.h

index 47ec4022fbb8d112b065fc89f1235ac637fedbec..98fd8370109d3587eead644ceb7fbc65d7b1244f 100644 (file)
@@ -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