use byteswap.h only on Linux

pull/2/head
weidai 2007-05-04 19:47:37 +00:00
parent 859e63275f
commit 9fe12a94b5
1 changed files with 1 additions and 1 deletions

2
misc.h
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