use byteswap.h only on Linux
parent
859e63275f
commit
9fe12a94b5
2
misc.h
2
misc.h
|
|
@ -32,7 +32,7 @@
|
||||||
#include <mem.h>
|
#include <mem.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__sun__) && !defined(__MINGW32__)
|
#if defined(__GNUC__) && defined(__linux__)
|
||||||
#define CRYPTOPP_BYTESWAP_AVAILABLE
|
#define CRYPTOPP_BYTESWAP_AVAILABLE
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue