aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-07-05 14:23:09 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-07-05 14:23:09 +0000
commitc6ae0ebcbf3c7b47ab444195613c6e14843fa248 (patch)
tree9ea42562675ac9a4ffd5e6662f28647d208925fa
parentc6ec576cbb855b1260d2b2e2058df3543aba760d (diff)
Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.
So avoid using x_was_used().
-rw-r--r--lib/mprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c
index 598ea7626..475afb770 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -38,6 +38,10 @@
#include <ctype.h>
#include <string.h>
+#if defined(DJGPP) && (DJGPP_MINOR < 4)
+#undef CURLDEBUG /* don't use x_was_used() here */
+#endif
+
#include <curl/mprintf.h>
#ifndef SIZEOF_LONG_DOUBLE