summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2020-09-05 17:50:01 +0200
committerDarren Tucker <dtucker@dtucker.net>2020-09-11 13:18:42 +1000
commit8372bff3a895b84fd78a81dc39da10928b662f5a (patch)
tree3a4aa556c608eefa61f7b595a680bbbdfed9d57a /defines.h
parentbbf20ac8065905f9cb9aeb8f1df57fcab52ee2fb (diff)
Remove HAVE_MMAP and BROKEN_MMAP
BROKEN_MMAP is no longer defined since commit 1cfd5c06efb12 ("Remove portability support for mmap") this commit also removed other HAVE_MMAP user. I didn't find anything that defines HAVE_MMAP. The check does not trigger because compression on server side is by default COMP_DELAYED (2) so it never triggers. Remove remaining HAVE_MMAP and BROKEN_MMAP bits. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/defines.h b/defines.h
index b8ea88b2..79dcb507 100644
--- a/defines.h
+++ b/defines.h
@@ -829,10 +829,6 @@ struct winsize {
# define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b)))
#endif
-#if defined(HAVE_MMAP) && defined(BROKEN_MMAP)
-# undef HAVE_MMAP
-#endif
-
#ifndef IOV_MAX
# if defined(_XOPEN_IOV_MAX)
# define IOV_MAX _XOPEN_IOV_MAX