From: Mathieu Desnoyers Date: Thu, 24 May 2012 17:46:40 +0000 (-0400) Subject: compat mman.h: add cygwin support X-Git-Tag: v2.1.0-rc1~130 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=2667678617cac0d49c3f72343955827d29719ec6 compat mman.h: add cygwin support Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index 1c65eb4b9..af7e1fd0f 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -27,6 +27,10 @@ #define MAP_GROWSDOWN 0 #define MAP_ANONYMOUS MAP_ANON +#elif defined(__CYGWIN__) + +#define MAP_GROWSDOWN 0 + #else #error "Please add support for your OS." #endif /* __linux__ , __FreeBSD__ */