]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
disabled SSE2 in GCC 3.x
authorvp153 <vp153@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 17 Oct 2008 09:56:55 +0000 (09:56 +0000)
committervp153 <vp153@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Fri, 17 Oct 2008 09:56:55 +0000 (09:56 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@1360 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/include/opencv/cxtypes.h

index 70a938cc0b21f32401f653589ed1c1e9a5ace353..6d9218ebc3ad1017608dd1a979073ba1de72b9cf 100644 (file)
@@ -64,7 +64,7 @@
 
   #if defined WIN32 && (!defined WIN64 || defined EM64T) && \
       (_MSC_VER >= 1400 || defined CV_ICC) \
-      || defined __SSE2__ || defined _MM_SHUFFLE2
+      || (defined __SSE2__ && defined __GNUC__ && __GNUC__ >= 4)
     #include <emmintrin.h>
     #define CV_SSE2 1
   #else