summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/gnu-linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index d0d8a95bca6..82445048eba 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -302,3 +302,8 @@ Boston, MA 02111-1307, USA. */
#define BSD_PGRPS
#define setpgrp(pid,pgid) setpgid(pid,pgid)
+
+/* Use mmap directly for allocating larger buffers. */
+#ifdef DOUG_LEA_MALLOC
+#undef REL_ALLOC
+#endif