summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 88fec3f4d7..ee86a81b5d 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -352,4 +352,8 @@ typedef int bool;
#define __STRING(x) #x
#endif
+#if MMAP_BLACKLIST
+#undef HAVE_MMAP
+#endif
+
#endif