X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fmman.h;h=c8d872ee485e7c2926cae2300d7c2f4ca27b6103;hp=af7e1fd0f4a1384d9e6bc97d4e07264bf623fccc;hb=a2773369683dfe5295e5e9304f075353ba8a9bff;hpb=7a946bebe4a23b07f257906b90c88fed383835aa 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 */