diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:27:12 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:30:22 +0200 |
commit | 90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch) | |
tree | 56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/main.c | |
parent | 0216e517d07f6409534a222b69d550844aeeb4d8 (diff) |
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.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c index 3c3d99f98..ebcc93cd3 100644 --- a/src/main.c +++ b/src/main.c @@ -19,7 +19,6 @@ * KIND, either express or implied. * ***************************************************************************/ - #include "setup.h" #include <curl/curl.h> @@ -138,16 +137,10 @@ versions instead */ #include "curlx.h" -/* The last #include file should be: */ -#ifdef CURLDEBUG -#ifndef CURLTOOLDEBUG -#define MEMDEBUG_NODEFINES -#endif /* This is low-level hard-hacking memory leak tracking and similar. Using the library level code from this client-side is ugly, but we do this anyway for convenience. */ -#include "memdebug.h" -#endif +#include "memdebug.h" /* keep this as LAST include */ #ifdef __VMS static int vms_show = 0; |