From d92b33de6a6d681f0f50713df30da408532d9539 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 10 Nov 2013 20:47:32 -0500 Subject: [PATCH] Fixed SSE detection macros to work properly with -msse3 --- dlib/simd/simd_check.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlib/simd/simd_check.h b/dlib/simd/simd_check.h index 5ecbf0824..f68856f48 100644 --- a/dlib/simd/simd_check.h +++ b/dlib/simd/simd_check.h @@ -18,7 +18,7 @@ #ifdef __SSE2__ #define DLIB_HAVE_SSE2 #endif - #ifdef __SSE3__ + #ifdef __SSSE3__ #define DLIB_HAVE_SSE3 #endif #ifdef __SSE4_1__ @@ -40,6 +40,7 @@ #endif #ifdef DLIB_HAVE_SSE3 #include // SSE3 + #include #endif #ifdef DLIB_HAVE_SSE41 #include // SSE4