aboutsummaryrefslogtreecommitdiff
path: root/src/dlmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlmalloc.c')
-rw-r--r--src/dlmalloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dlmalloc.c b/src/dlmalloc.c
index 864117dd..aa37dc0d 100644
--- a/src/dlmalloc.c
+++ b/src/dlmalloc.c
@@ -1,7 +1,9 @@
+
#define __THROW
#define __attribute_malloc__
#define __wur
+
/*
This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at
@@ -592,7 +594,7 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP
#define MMAP_CLEARS 1
#endif /* MMAP_CLEARS */
#ifndef HAVE_MREMAP
-#if linux
+#ifdef linux
#define HAVE_MREMAP 1
#else /* linux */
#define HAVE_MREMAP 0