X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fmman.h;h=c8d872ee485e7c2926cae2300d7c2f4ca27b6103;hp=1c65eb4b93c008c1cf2d25c555d5ace23308ede0;hb=6ec9dc48cf7f3d5e1fc01f741197c0bacc94bbf0;hpb=d14d33bf091e72b23b1f90ea18a0a01bed098b76 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 */