forked from boostorg/endian
Tweaks to get tests running with various compilers.
This commit is contained in:
1 parent
a7475d0f63
commit
4c0bd87c18
3 files changed
+9
-2
No files matched your search
@@ -14,7 +14,7 @@
|
||||
# include <boost/cstdint.hpp>
|
||||
#endif
|
||||
|
||||
#if (defined __GNUC__ || defined __clang__)
|
||||
#if ((defined __GNUC__ && !defined(__MINGW32__)) || defined __clang__)
|
||||
#include <byteswap.h>
|
||||
#define BOOST_ENDIAN_INTRINSIC_BYTE_SWAP_2 bswap_16
|
||||
#define BOOST_ENDIAN_INTRINSIC_BYTE_SWAP_4 bswap_32
|
||||
|
||||
Reference in new issue
Block a user