aboutsummaryrefslogtreecommitdiff
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
commitdc8688b8dcac017df5782ea02e85761805954d84 (patch)
treec14602a5273bc16fc887dc5a83fb4e755bd2e1d0
parent865e495188a07a1b1fd4b32b172730c8d5cd707b (diff)
fix CURL_EXTERN for debug builds
-rw-r--r--ares/ares_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 47ec4022f..98fd83701 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