projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Integer and Long tracepoint types to the Java interface
[lttng-ust.git]
/
include
/
lttng
/
ust-endian.h
diff --git
a/include/lttng/ust-endian.h
b/include/lttng/ust-endian.h
index 085ff0728e0f7d6fbde7c43e07c4c7e8591ec195..2426b1467214634f8daa0bc472e995f55860d6ef 100644
(file)
--- a/
include/lttng/ust-endian.h
+++ b/
include/lttng/ust-endian.h
@@
-20,10
+20,18
@@
#ifdef __linux__
#include <endian.h>
#ifdef __linux__
#include <endian.h>
-#elif
__FreeBSD__
+#elif
defined(__FreeBSD__)
#include <machine/endian.h>
#else
#include <machine/endian.h>
#else
-#error "Please add support for your OS
into lttng/ust-endian.h
."
+#error "Please add support for your OS."
#endif
#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 */
#endif /* _LTTNG_UST_ENDIAN_H */
This page took
0.023639 seconds
and
4
git commands to generate.