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