bsd compat headers: #elif -> #elif defined
[lttng-tools.git] / src / common / compat / mman.h
index ede8c5883c805211dc29da84bc64b0eaea6651d5..7002e167c403587d677bbfc14e8094118abf45d3 100644 (file)
 
 #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 */
This page took 0.023408 seconds and 4 git commands to generate.