From: Michael Jeanson Date: Wed, 14 Oct 2015 20:05:38 +0000 (-0400) Subject: Port: Add Solaris support to mman compat X-Git-Tag: v2.8.0-rc1~277 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a2773369683dfe5295e5e9304f075353ba8a9bff;p=lttng-tools.git Port: Add Solaris support to mman compat Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- 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 */