From 0c893f14ca3eb211b86463180bf1353fb7f0110d Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Mon, 20 Jul 2015 15:51:43 -0400 Subject: [PATCH] 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 --- crypto/cpu-intel.c | 2 ++ 1 file changed, 2 insertions(+) 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 #if defined(OPENSSL_WINDOWS) +#pragma warning(push, 3) #include #include +#pragma warning(pop) #endif