X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fmman.h;h=c8d872ee485e7c2926cae2300d7c2f4ca27b6103;hb=18710679a8ac57fda5dbd26cf16bb180dce9e286;hp=1c65eb4b93c008c1cf2d25c555d5ace23308ede0;hpb=d14d33bf091e72b23b1f90ea18a0a01bed098b76;p=lttng-tools.git diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index 1c65eb4b9..c8d872ee4 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -27,8 +27,12 @@ #define MAP_GROWSDOWN 0 #define MAP_ANONYMOUS MAP_ANON +#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 */