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.1.0-rc1~97^2~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8d1d746f7042216d04c842e09bd6c3b2643d2309;p=lttng-ust.git 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, \ }, \