From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 00:28:44 +0000 (-0500) Subject: Fix freebsd endian support X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=3803c9c40dc62c9c4a835b375b6c7bd2912f22dc Fix freebsd endian support commit 75181c4b1b6e046ae8561c486ced003a83b1a696 upstream. Need to use #elif defined(). Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- 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."