summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-09 18:10:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-09 18:10:51 +0000
commiteadf3e7f0dad52d6a13b1e8615ec110434380236 (patch)
treeded7b14df29e871b1c1bfc4cc29531ec5585aa29 /ares_private.h
parentae935201f521d4063c31c47bc77b3deacc355743 (diff)
downloadc-ares-eadf3e7f0dad52d6a13b1e8615ec110434380236.tar.gz
c-ares-eadf3e7f0dad52d6a13b1e8615ec110434380236.tar.bz2
c-ares-eadf3e7f0dad52d6a13b1e8615ec110434380236.zip
fix CURL_EXTERN for debug builds
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares_private.h b/ares_private.h
index 47ec402..98fd837 100644
--- a/ares_private.h
+++ b/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