summaryrefslogtreecommitdiff
path: root/integer.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-19 11:00:52 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-19 11:00:52 +0000
commit5bee373ff3a0073ceb607bcdf4437a316972fe20 (patch)
treef092ca95cbd7b430af62c83d693d1b83d786ef79 /integer.h
parent7f2eb60bcadf0b51ebdd7ab656557c2c5c51d02d (diff)
downloadcryptopp-git-5bee373ff3a0073ceb607bcdf4437a316972fe20.tar.gz
disable x86 assembly on systems without GNU as 2.10 or later
Diffstat (limited to 'integer.h')
-rw-r--r--integer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/integer.h b/integer.h
index 9006278a..aebbb41a 100644
--- a/integer.h
+++ b/integer.h
@@ -9,6 +9,8 @@
#include <iosfwd>
#include <algorithm>
+#ifdef CRYPTOPP_X86ASM_AVAILABLE
+
#ifdef _M_IX86
#if (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 500)) || (defined(__ICL) && (__ICL >= 500))
#define SSE2_INTRINSICS_AVAILABLE
@@ -26,6 +28,8 @@
#define SSE2_INTRINSICS_AVAILABLE
#endif
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
#if defined(SSE2_INTRINSICS_AVAILABLE) || defined(_MSC_VER)