machine/endian.h -> sys/endian.h
This commit is contained in:
parent
a06bbd1846
commit
56e458b4b5
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-boost_detail_endian_hpp,v 1.5 2013/03/08 01:21:37 brad Exp $
|
||||
$OpenBSD: patch-boost_detail_endian_hpp,v 1.6 2015/05/01 14:47:29 ajacoutot Exp $
|
||||
--- boost/detail/endian.hpp.orig Wed Oct 10 15:27:55 2012
|
||||
+++ boost/detail/endian.hpp Wed Oct 10 15:30:03 2012
|
||||
@@ -43,6 +43,13 @@
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-boost_detail_endian_hpp,v 1.5 2013/03/08 01:21:37 brad Exp $
|
||||
# endif
|
||||
# define BOOST_BYTE_ORDER __BYTE_ORDER
|
||||
+#elif defined(__OpenBSD__)
|
||||
+# include <machine/endian.h>
|
||||
+# include <endian.h>
|
||||
+# if (_BYTE_ORDER == _LITTLE_ENDIAN)
|
||||
+# define BOOST_LITTLE_ENDIAN
|
||||
+# elif (_BYTE_ORDER == _BIG_ENDIAN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user