From: Mathieu Desnoyers Date: Wed, 22 Feb 2012 22:09:29 +0000 (-0500) Subject: Revert "Wrap FLOAT_WORD_ORDER" X-Git-Tag: v2.0.0-rc2~39 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7d97fea89a45e7051f52ab301ddee7ed52a5e2a4;p=lttng-ust.git Revert "Wrap FLOAT_WORD_ORDER" This reverts commit c759fe81a6251b9feddf5cd9576278ffedf92ac3. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-endian.h b/include/lttng/ust-endian.h index a626027e..7a69d808 100644 --- a/include/lttng/ust-endian.h +++ b/include/lttng/ust-endian.h @@ -26,12 +26,4 @@ #error "Please add support for your OS into lttng/ust-endian.h." #endif -#ifndef FLOAT_WORD_ORDER -#ifdef __FLOAT_WORD_ORDER -#define FLOAT_WORD_ORDER __FLOAT_WORD_ORDER -#else /* __FLOAT_WORD_ORDER */ -#define FLOAT_WORD_ORDER BYTE_ORDER -#endif /* __FLOAT_WORD_ORDER */ -#endif /* FLOAT_WORD_ORDER */ - #endif /* _LTTNG_UST_ENDIAN_H */ diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 96435c48..476ddd78 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -110,7 +110,7 @@ struct lttng_integer_type { - _float_mant_dig(_type), \ .mant_dig = _float_mant_dig(_type), \ .alignment = lttng_alignof(_type) * CHAR_BIT, \ - .reverse_byte_order = BYTE_ORDER != FLOAT_WORD_ORDER, \ + .reverse_byte_order = __BYTE_ORDER != __FLOAT_WORD_ORDER, \ }, \ } \