curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.

Use same preprocessor logic for curl tool MemoryTracking activation in source
files located in 'src' subdirectory as the one used for libcurl sources.
This commit is contained in:
Yang Tse 2011-09-14 11:27:12 +02:00
parent 0216e517d0
commit 90080da5fe
20 changed files with 88 additions and 89 deletions

View file

@ -19,24 +19,22 @@
* KIND, either express or implied.
*
***************************************************************************/
#include "setup.h"
#ifdef USE_ENVIRONMENT
#include <curl/curl.h>
#include "writeenv.h"
#ifdef __riscos__
#include <kernel.h>
#endif
#include <curl/curl.h>
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
#include "memdebug.h"
#endif
#include "writeenv.h"
#include "memdebug.h" /* keep this as LAST include */
static const struct
{