Tweaks to get tests running with various compilers.

This commit is contained in:
Beman committed 2013-05-12 17:42:48 -04:00
1 parent a7475d0f63
commit 4c0bd87c18
3 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -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