summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"