From a2773369683dfe5295e5e9304f075353ba8a9bff Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 14 Oct 2015 16:05:38 -0400 Subject: [PATCH 1/1] Port: Add Solaris support to mman compat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- src/common/compat/mman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index af7e1fd0f..c8d872ee4 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -27,12 +27,12 @@ #define MAP_GROWSDOWN 0 #define MAP_ANONYMOUS MAP_ANON -#elif defined(__CYGWIN__) +#elif defined(__CYGWIN__) || defined(__sun__) #define MAP_GROWSDOWN 0 #else #error "Please add support for your OS." -#endif /* __linux__ , __FreeBSD__ */ +#endif /* __linux__ */ #endif /* _COMPAT_MMAN_H */ -- 2.34.1