FreeBSD Fixes

This commit is contained in:
Phillip Stephens 2015-09-12 19:41:19 -08:00
parent 020e7d14c9
commit 24ba376064
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ public:
#endif #endif
#endif #endif
#undef bswap16
#undef bswap32
#undef bswap64
/* Type-sensitive byte swappers */ /* Type-sensitive byte swappers */
template <typename T> template <typename T>
static inline T bswap16(T val) static inline T bswap16(T val)