summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-04 19:47:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-05-04 19:47:37 +0000
commit222195060a24dba514361cde6d28f3a3ed8ada28 (patch)
tree8cd442f2d1a0e6bb264dae4c139260b6d6e9e9c5 /misc.h
parentd3cbcba11a72e554e03799f642a083990d48ae09 (diff)
downloadcryptopp-222195060a24dba514361cde6d28f3a3ed8ada28.tar.gz
use byteswap.h only on Linux
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@349 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 626c265..5e03a89 100644
--- a/misc.h
+++ b/misc.h
@@ -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