From: Eli Friedman Date: Thu, 11 Jun 2009 18:50:02 +0000 (+0000) Subject: Following gcc, hide the hack to include the SSE2 intrinsics from X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7d95dcb4e0b3d9ebc1a79d2c45f16af10cf88c1;p=clang Following gcc, hide the hack to include the SSE2 intrinsics from xmmintrin.h in an ifdef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73200 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h index 4938399063..5d2bcbb98c 100644 --- a/lib/Headers/xmmintrin.h +++ b/lib/Headers/xmmintrin.h @@ -898,7 +898,10 @@ do { \ (row3) = _mm_movelh_ps(tmp3, tmp1); \ } while (0) +/* Ugly hack for backwards-compatibility (compatible with gcc) */ +#ifdef __SSE2__ #include +#endif #endif /* __SSE__ */