diff options
author | David Benjamin <davidben@chromium.org> | 2015-07-20 22:51:43 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-07-20 23:08:26 +0300 |
commit | 0c893f14ca3eb211b86463180bf1353fb7f0110d (patch) | |
tree | a2e1b333d4ea9e3a7fe3f4d52aaac270e8dceead /crypto/cpu-intel.c | |
parent | f21fe46764a9ff5b119023a444e5e41dff2a3fb8 (diff) |
Surround immintrin.h includes with warning pragmas.
smmintrin.h uses #if __cplusplus rather than #ifdef __cplusplus which
trips up warnings.
Change-Id: Ic2e0a64f0485a6e1d807c1e2d9d7f5bf8c64e296
Reviewed-on: https://boringssl-review.googlesource.com/5450
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/cpu-intel.c')
-rw-r--r-- | crypto/cpu-intel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cpu-intel.c b/crypto/cpu-intel.c index a50d9582..924bab04 100644 --- a/crypto/cpu-intel.c +++ b/crypto/cpu-intel.c @@ -69,8 +69,10 @@ #include <string.h> #if defined(OPENSSL_WINDOWS) +#pragma warning(push, 3) #include <immintrin.h> #include <intrin.h> +#pragma warning(pop) #endif |