summaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-07 12:44:38 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-07 12:44:38 +0000
commitad9cb40b6f0fc79a1fddd9fa6aa12bf1dd31092b (patch)
tree2e360e401f7df17ab9b5b0003550de4d3d54e364 /include/curl
parent2e60ca382dbe99bd294641dabf7e84a349b080c8 (diff)
downloadcurl-ad9cb40b6f0fc79a1fddd9fa6aa12bf1dd31092b.tar.gz
Some #if --> #ifdef
undef standard *printf before (re)defining them
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/mprintf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h
index b087d9a80..5c526882f 100644
--- a/include/curl/mprintf.h
+++ b/include/curl/mprintf.h
@@ -44,6 +44,16 @@ CURL_EXTERN char *curl_maprintf(const char *format, ...);
CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args);
#ifdef _MPRINTF_REPLACE
+# undef printf
+# undef fprintf
+# undef sprintf
+# undef vsprintf
+# undef snprintf
+# undef vprintf
+# undef vfprintf
+# undef vsnprintf
+# undef aprintf
+# undef vaprintf
# define printf curl_mprintf
# define fprintf curl_mfprintf
#ifdef CURLDEBUG