summaryrefslogtreecommitdiff
path: root/src/mkhelp.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-14 11:27:12 +0200
committerYang Tse <yangsita@gmail.com>2011-09-14 11:30:22 +0200
commit90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch)
tree56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/mkhelp.pl
parent0216e517d07f6409534a222b69d550844aeeb4d8 (diff)
downloadcurl-90080da5fefe943aec5aa0b9c08510dc1dd48be3.tar.gz
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/mkhelp.pl')
-rw-r--r--src/mkhelp.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mkhelp.pl b/src/mkhelp.pl
index d09d6c508..ff4604155 100644
--- a/src/mkhelp.pl
+++ b/src/mkhelp.pl
@@ -140,9 +140,7 @@ HEAD
if($c) {
print <<HEAD
#include <zlib.h>
-#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
-#include "memdebug.h"
-#endif
+#include "memdebug.h" /* keep this as LAST include */
static const unsigned char hugehelpgz[] = {
/* This mumbo-jumbo is the huge help text compressed with gzip.
Thanks to this operation, the size of this data shrunk from $gzip