Cludge fix for djgpp 2.03 or older; it doesn't have snprintf() etc.
authorGisle Vanem <gvanem@broadpark.no>
Wed, 5 Jul 2006 14:23:09 +0000 (14:23 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Wed, 5 Jul 2006 14:23:09 +0000 (14:23 +0000)
So avoid using x_was_used().

lib/mprintf.c

index 598ea76..475afb7 100644 (file)
 #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