From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 00:28:44 +0000 (-0500) Subject: Fix freebsd endian support X-Git-Tag: v2.1.0-rc1~97^2~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=75181c4b1b6e046ae8561c486ced003a83b1a696;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."