Fix: try to include endian.h by default
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Mar 2012 17:38:39 +0000 (12:38 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Mar 2012 17:38:39 +0000 (12:38 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/babeltrace/endian.h

index cadb98aead1cfed744e04c76967395fe9297eee7..5cf0a6e28e6f5b58ed3beba40b6a91de37b5e7dc 100644 (file)
  * modified is included with the above copyright notice.
  */
 
-#ifdef __linux__
-#include <endian.h>
-#elif defined(__FreeBSD__)
+#ifdef __FreeBSD__
 #include <machine/endian.h>
 #else
-#error "Please add support for your OS."
+#include <endian.h>
 #endif
 
 #ifndef FLOAT_WORD_ORDER
This page took 0.032731 seconds and 4 git commands to generate.