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-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=d2956292961902e1cf887424865c2e5bdf600b28 ust-event.h: use BYTE_ORDER instead of __BYTE_ORDER commit 8d1d746f7042216d04c842e09bd6c3b2643d2309 upstream. available on both Linux and FreeBSD. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 1a548f1a..a71baa75 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -85,7 +85,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, \ }, \