From 3803c9c40dc62c9c4a835b375b6c7bd2912f22dc Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 20 Feb 2012 19:28:44 -0500 Subject: [PATCH] Fix freebsd endian support commit 75181c4b1b6e046ae8561c486ced003a83b1a696 upstream. Need to use #elif defined(). Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- include/lttng/ust-endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- 2.34.1