diff options
author | David Benjamin <davidben@chromium.org> | 2015-02-11 23:12:05 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-02-12 02:13:52 +0300 |
commit | 3673be7cb6611b373b9b1200999827a9b8df37a1 (patch) | |
tree | dc207e56452c1371848be8bd92a1f01a1659d8fa /crypto | |
parent | 689be0f4b7289ed633dee1d9861f13d80e65c96d (diff) |
Fix standalone build on Win64.
Win64 fires significantly more warnings than Win32. Also some recent
changes made it grumpy.
(We might want to reconsider enabling all of MSVC's warnings. Given the sorts
of warnings some of these are, I'm not sure MSVC's version of -Wall -Werror is
actually tenable. Plus, diverging from the Chromium build, especially before
the bots are ready, is going to break pretty readily.)
Change-Id: If3b8feccf910ceab4a233b0731e7624d7da46f87
Reviewed-on: https://boringssl-review.googlesource.com/3420
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/internal.h b/crypto/bn/internal.h index d421cf3a..f61b86e5 100644 --- a/crypto/bn/internal.h +++ b/crypto/bn/internal.h @@ -128,7 +128,9 @@ #include <inttypes.h> #if defined(OPENSSL_X86_64) && defined(_MSC_VER) && _MSC_VER >= 1400 +#pragma warning(push, 3) #include <intrin.h> +#pragma warning(pop) #pragma intrinsic(__umulh, _umul128) #endif |