From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 00:28:44 +0000 (-0500) Subject: Fix freebsd endian support X-Git-Tag: v2.0.0-rc2~72 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=020760b19e351bda940b38ca273f32206ab4d03f;p=lttng-ust.git Fix freebsd endian support Need to use #elif defined(). Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-endian.h b/include/lttng/ust-endian.h index 085ff072..7a69d808 100644 --- a/include/lttng/ust-endian.h +++ b/include/lttng/ust-endian.h @@ -20,7 +20,7 @@ #ifdef __linux__ #include -#elif __FreeBSD__ +#elif defined(__FreeBSD__) #include #else #error "Please add support for your OS into lttng/ust-endian.h."