_bswap may be already defined.

This commit is contained in:
Bartosz Taudul 2019-06-07 01:07:51 +02:00
parent ff5170d0e9
commit 34a6fe7055

View File

@ -16,7 +16,9 @@
#else #else
# ifndef _MSC_VER # ifndef _MSC_VER
# include <byteswap.h> # include <byteswap.h>
# define _bswap(x) bswap_32(x) # ifndef _bswap
# define _bswap(x) bswap_32(x)
# endif
# endif # endif
#endif #endif