summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-12-14 16:00:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-12-14 16:00:56 (GMT)
commit4057ee68283ac76f585cea72eb2a04dcf87aba00 (patch)
treec8c24d8aa2d076477c6b723fe3789c60dafe4f9d /Utilities/cmcurl
parent1713bf95c6e0cccebe586802041782bb22b947d0 (diff)
downloadCMake-4057ee68283ac76f585cea72eb2a04dcf87aba00.zip
CMake-4057ee68283ac76f585cea72eb2a04dcf87aba00.tar.gz
CMake-4057ee68283ac76f585cea72eb2a04dcf87aba00.tar.bz2
BUG: fix for bug 6054 remove some warnings
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/curl/mprintf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Utilities/cmcurl/curl/mprintf.h b/Utilities/cmcurl/curl/mprintf.h
index b087d9a..5c52688 100644
--- a/Utilities/cmcurl/curl/mprintf.h
+++ b/Utilities/cmcurl/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