void-packages/srcpkgs/swiften/patches/boost-endian.patch

16 lines
372 B
Diff

--- a/Swiften/Base/Platform.h
+++ b/Swiften/Base/Platform.h
@@ -43,9 +43,9 @@
#endif
// Endianness
-#include <boost/detail/endian.hpp>
-#if defined(BOOST_LITTLE_ENDIAN)
+#include <boost/predef/other/endian.h>
+#if BOOST_ENDIAN_LITTLE_BYTE
#define SWIFTEN_LITTLE_ENDIAN
-#elif defined(BOOST_BIG_ENDIAN)
+#elif BOOST_ENDIAN_BIG_BYTE
#define SWIFTEN_BIG_ENDIAN
#endif