From 12cff679cfcf804619986cac2afa44e2825914a5 Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 8 Apr 2011 17:49:18 +0000 Subject: [PATCH] clang has _mm_cvtss_f32 but not __builtin_ia32_vec_ext_v4sf git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11039 d7cf8633-e32d-0410-b094-e92efae38249 --- dpsoftrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpsoftrast.c b/dpsoftrast.c index 609f444e..222b71c6 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -73,7 +73,7 @@ typedef qboolean bool; #ifdef SSE_POSSIBLE #include -#if defined(__GNUC__) && (__GNUC < 4 || __GNUC_MINOR__ < 6) +#if defined(__GNUC__) && (__GNUC < 4 || __GNUC_MINOR__ < 6) && !defined(__clang__) #define _mm_cvtss_f32(val) (__builtin_ia32_vec_ext_v4sf ((__v4sf)(val), 0)) #endif -- 2.39.2