Revert "Wrap FLOAT_WORD_ORDER"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:29 +0000 (17:09 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:29 +0000 (17:09 -0500)
This reverts commit c759fe81a6251b9feddf5cd9576278ffedf92ac3.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-endian.h
include/lttng/ust-events.h

index a626027eb4250344836373a587417c8099695aa0..7a69d808b2fbbbc1002fa5376faf042eb5e11979 100644 (file)
 #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 */
index 96435c481c7b5aa117ed04b893a057bd531dfdfd..476ddd7845a5ea264bf0b837ad37aaa91ad66d86 100644 (file)
@@ -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, \
                },                                              \
        }                                                       \
 
This page took 0.027193 seconds and 4 git commands to generate.