From: Mathieu Desnoyers Date: Tue, 21 Feb 2012 16:27:50 +0000 (-0500) Subject: ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER X-Git-Tag: v2.0.0-rc2~55 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=52367557562008ab80a94adbaf047dd44b282d15 ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER available on both Linux and FreeBSD. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 2049e535..476ddd78 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -77,7 +77,7 @@ struct lttng_enum_entry { .size = sizeof(_type) * CHAR_BIT, \ .alignment = lttng_alignof(_type) * CHAR_BIT, \ .signedness = lttng_is_signed_type(_type), \ - .reverse_byte_order = _byte_order != __BYTE_ORDER, \ + .reverse_byte_order = _byte_order != BYTE_ORDER, \ .base = _base, \ .encoding = lttng_encode_##_encoding, \ }, \