Fix: try to include endian.h by default
[babeltrace.git] / 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.03405 seconds and 4 git commands to generate.