From c49f4f17bf6650f7eae9038c4efb131c1fa722f6 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 16 Aug 2015 23:02:31 +0200 Subject: [PATCH] Disable the mmap regression test on OS X. --- test/bug-mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bug-mmap.c b/test/bug-mmap.c index af371dc..7e07af0 100644 --- a/test/bug-mmap.c +++ b/test/bug-mmap.c @@ -32,7 +32,7 @@ int main(void) { -#if defined _SC_PAGE_SIZE +#if defined _SC_PAGE_SIZE && defined MAP_POPULATE int fd = open("/etc/hosts", O_RDONLY); mmap(0, sysconf(_SC_PAGE_SIZE) * 2, PROT_READ, MAP_PRIVATE | MAP_POPULATE, fd, 0);