From: Mathieu Desnoyers Date: Thu, 24 May 2012 17:46:40 +0000 (-0400) Subject: compat mman.h: add cygwin support X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a1287b7a58e79583bb0c71fe05678bb68c0f9fd3;p=lttng-tools.git compat mman.h: add cygwin support commit 2667678617cac0d49c3f72343955827d29719ec6 upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- 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__ */