summaryrefslogtreecommitdiff
path: root/gcm.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-20 08:24:12 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-20 08:24:12 -0400
commitc24f17b7a26b8dd5939bced64652d3b749b26a5e (patch)
tree52468b2581789d926a807c408e750e8f7c30d8e6 /gcm.cpp
parent3e9a5f17d282df730d503ec81b3c0d36fbfe04e1 (diff)
downloadcryptopp-git-c24f17b7a26b8dd5939bced64652d3b749b26a5e.tar.gz
Fix compiler crash in Visual Studio .Net (2002 and 2003)
Diffstat (limited to 'gcm.cpp')
-rw-r--r--gcm.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcm.cpp b/gcm.cpp
index 0ef5fe4e..84129b56 100644
--- a/gcm.cpp
+++ b/gcm.cpp
@@ -19,6 +19,11 @@
# undef CRYPTOPP_SSE2_ASM_AVAILABLE
#endif
+// Visual Studio .Net 2003 compiler crash
+#if defined(_MSC_VER) && (_MSC_VER < 1400)
+# pragma optimize("", off)
+#endif
+
#include "gcm.h"
#include "cpu.h"