diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-03-03 23:08:02 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-03 23:08:02 +0100 |
commit | dcf23b0cfe7797651df6e56b5e451415261676f0 (patch) | |
tree | 3f2ec6b1c0bf4e9cf8ba2a6027c4b6454cc1ceb4 /src | |
parent | af838b7d7b0d1aa5329de99922e78591811e5eac (diff) |
tool: use ENABLE_CURLX_PRINTF instead of _MPRINTF_REPLACE
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_urlglob.c | 8 | ||||
-rw-r--r-- | src/tool_writeout.c | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index b6d5591ab..912166708 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, 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 @@ -21,9 +21,9 @@ ***************************************************************************/ #include "tool_setup.h" -#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */ -#include <curl/mprintf.h> - +#define ENABLE_CURLX_PRINTF +/* use our own printf() functions */ +#include "curlx.h" #include "tool_urlglob.h" #include "tool_vms.h" diff --git a/src/tool_writeout.c b/src/tool_writeout.c index f29d1ac33..63db90c96 100644 --- a/src/tool_writeout.c +++ b/src/tool_writeout.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, 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 @@ -20,10 +20,9 @@ * ***************************************************************************/ #include "tool_setup.h" - -#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */ -#include <curl/mprintf.h> - +#define ENABLE_CURLX_PRINTF +/* use our own printf() functions */ +#include "curlx.h" #include "tool_cfgable.h" #include "tool_writeout.h" |