X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fmman.h;h=7002e167c403587d677bbfc14e8094118abf45d3;hb=a186a15913c34e8adc83ea71565d3b0eec296774;hp=ede8c5883c805211dc29da84bc64b0eaea6651d5;hpb=373d38732a83167f19c3be89cf9ff238743cdeb0;p=lttng-tools.git diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index ede8c5883..7002e167c 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -22,13 +22,13 @@ #ifdef __linux__ -#elif __FreeBSD__ +#elif defined(__FreeBSD__) #define MAP_GROWSDOWN 0 #define MAP_ANONYMOUS MAP_ANON #else -#error "Please add support for your OS into compat/mman.h." +#error "Please add support for your OS." #endif /* __linux__ , __FreeBSD__ */ #endif /* _COMPAT_MMAN_H */