summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/include/curl/mprintf.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-04 13:56:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-04 13:56:39 (GMT)
commit85d966dcd7a29a17e42fde7b1c109e642f063d82 (patch)
tree4a963906e6f83ad32d02adf681dfe1e1a7160d1d /Utilities/cmcurl/include/curl/mprintf.h
parent2c0e87fff3347189db7454cf55669eec45819d9a (diff)
parentf59ab43370dc9bff7e6480032c95505cdd00e3cd (diff)
downloadCMake-85d966dcd7a29a17e42fde7b1c109e642f063d82.zip
CMake-85d966dcd7a29a17e42fde7b1c109e642f063d82.tar.gz
CMake-85d966dcd7a29a17e42fde7b1c109e642f063d82.tar.bz2
Merge topic 'update-curl'
f59ab433 curl: Remove CMake-specific README f53f4a8a Merge branch 'upstream-curl' into update-curl 202adcfe curl 2016-08-03 (f2cb3a01) e1c11352 curl: Update script to get curl 7.50.1 a51c6c53 Merge branch 'upstream-curl' into update-curl 7ec709d3 curl 2015-08-11 (1a7f66a3) 3e9b0343 Add script to update curl from upstream
Diffstat (limited to 'Utilities/cmcurl/include/curl/mprintf.h')
-rw-r--r--Utilities/cmcurl/include/curl/mprintf.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/Utilities/cmcurl/include/curl/mprintf.h b/Utilities/cmcurl/include/curl/mprintf.h
index c6b0d76..e20f546 100644
--- a/Utilities/cmcurl/include/curl/mprintf.h
+++ b/Utilities/cmcurl/include/curl/mprintf.h
@@ -7,11 +7,11 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at http://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.haxx.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -24,8 +24,7 @@
#include <stdarg.h>
#include <stdio.h> /* needed for FILE */
-
-#include "curl.h"
+#include "curl.h" /* for CURL_EXTERN */
#ifdef __cplusplus
extern "C" {
@@ -44,29 +43,6 @@ CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
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
-# define sprintf curl_msprintf
-# define vsprintf curl_mvsprintf
-# define snprintf curl_msnprintf
-# define vprintf curl_mvprintf
-# define vfprintf curl_mvfprintf
-# define vsnprintf curl_mvsnprintf
-# define aprintf curl_maprintf
-# define vaprintf curl_mvaprintf
-#endif
-
#ifdef __cplusplus
}
#endif