diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-07-05 14:23:09 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-07-05 14:23:09 +0000 |
commit | c6ae0ebcbf3c7b47ab444195613c6e14843fa248 (patch) | |
tree | 9ea42562675ac9a4ffd5e6662f28647d208925fa /lib/mprintf.c | |
parent | c6ec576cbb855b1260d2b2e2058df3543aba760d (diff) | |
download | curl-c6ae0ebcbf3c7b47ab444195613c6e14843fa248.tar.gz |
Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.
So avoid using x_was_used().
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r-- | lib/mprintf.c | 4 |
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 |