use byteswap.h only on Linux

import/raw
weidai 2007-05-04 19:47:37 +00:00
parent 19fda68b23
commit 3ee0cff164
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#include <mem.h>
#endif
#if defined(__GNUC__) && !defined(__sun__) && !defined(__MINGW32__)
#if defined(__GNUC__) && defined(__linux__)
#define CRYPTOPP_BYTESWAP_AVAILABLE
#include <byteswap.h>
#endif