From 2667678617cac0d49c3f72343955827d29719ec6 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 24 May 2012 13:46:40 -0400 Subject: [PATCH] compat mman.h: add cygwin support Signed-off-by: Mathieu Desnoyers --- src/common/compat/mman.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index 1c65eb4b9..af7e1fd0f 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -27,6 +27,10 @@ #define MAP_GROWSDOWN 0 #define MAP_ANONYMOUS MAP_ANON +#elif defined(__CYGWIN__) + +#define MAP_GROWSDOWN 0 + #else #error "Please add support for your OS." #endif /* __linux__ , __FreeBSD__ */ -- 2.34.1