From: Mathieu Desnoyers Date: Wed, 22 Feb 2012 22:09:30 +0000 (-0500) Subject: Revert "ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER" X-Git-Tag: v2.0.0-rc2~38 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=40af798b1df71a39b748f83e70bcccf7ded79cb1;p=lttng-ust.git Revert "ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER" This reverts commit 52367557562008ab80a94adbaf047dd44b282d15. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 476ddd78..2049e535 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, \ }, \