summaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-03 12:36:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-03 12:36:18 +0100
commitdf5578a7a304a23f9aa3670daff8573ec3ef416f (patch)
tree5a860c60fe1401cc4e577de1537f7a3c08e3bd0e /lib/memdebug.c
parentf2108ec34cefff432c234e167bafa4f19eae8b47 (diff)
downloadcurl-df5578a7a304a23f9aa3670daff8573ec3ef416f.tar.gz
mprintf.h: remove #ifdef CURLDEBUG
... and as a consequence, introduce curl_printf.h with that re-define magic instead and make all libcurl code use that instead.
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index 4afa620a0..931a9f757 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, 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
@@ -26,8 +26,7 @@
#include <curl/curl.h>
-#define _MPRINTF_REPLACE
-#include <curl/mprintf.h>
+#include "curl_printf.h"
#include "urldata.h"
#define MEMDEBUG_NODEFINES /* don't redefine the standard functions */