Fix freebsd endian support
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 00:28:44 +0000 (19:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 00:28:44 +0000 (19:28 -0500)
Need to use #elif defined().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-endian.h

index 085ff0728e0f7d6fbde7c43e07c4c7e8591ec195..7a69d808b2fbbbc1002fa5376faf042eb5e11979 100644 (file)
@@ -20,7 +20,7 @@
 
 #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."
This page took 0.025398 seconds and 4 git commands to generate.