bsd compat: add missing #elif -> #elif defined()
[lttng-tools.git] / src / common / compat / endian.h
index b9382baaa560984ad18bce3f84ea0f765e418cda..b4426eb8405ce53d38fdb7afc35943379ae28dd9 100644 (file)
 
 #ifdef __linux__
 #include <endian.h>
-#elif __FreeBSD__
+#elif defined(__FreeBSD__)
 #include <machine/endian.h>
 #else
-#error "Please add support for your OS into lttng/ust-endian.h."
+#error "Please add support for your OS."
 #endif
 
 #endif /* _COMPAT_ENDIAN_H */
This page took 0.023147 seconds and 4 git commands to generate.