We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7250222 commit bffe626Copy full SHA for bffe626
include/osmium/util/endian.hpp
@@ -35,7 +35,9 @@ DEALINGS IN THE SOFTWARE.
35
36
// Windows is only available for little endian architectures
37
// http://stackoverflow.com/questions/6449468/can-i-safely-assume-that-windows-installations-will-always-be-little-endian
38
-#if !defined(_WIN32) && !defined(__APPLE__)
+#if defined(__FreeBSD__)
39
+# include <sys/endian.h>
40
+#elif !defined(_WIN32) && !defined(__APPLE__)
41
# include <endian.h>
42
#else
43
# define __LITTLE_ENDIAN 1234
0 commit comments