Allow system to have overlapping mallopt defines (#700) Which is the case on some OSes, such as QNX.
diff --git a/src/dlmalloc.c b/src/dlmalloc.c
index 1aba657..6f4a5f6 100644
--- a/src/dlmalloc.c
+++ b/src/dlmalloc.c
@@ -592,6 +592,11 @@ DEFAULT_MMAP_THRESHOLD default: 256K
malloc does support the following options.
*/
+/* The system's malloc.h may have conflicting defines. */
+#undef M_TRIM_THRESHOLD
+#undef M_GRANULARITY
+#undef M_MMAP_THRESHOLD
+
#define M_TRIM_THRESHOLD (-1)
#define M_GRANULARITY (-2)
#define M_MMAP_THRESHOLD (-3)