summaryrefslogtreecommitdiff
blob: 8ee0e7e4acbd33b29cde784fbb0352b8db8c642e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 1/gst/audioresample/resample.c
+++ 1/gst/audioresample/resample.c
@@ -77,13 +77,13 @@
 #define EXPORT G_GNUC_INTERNAL
 
 #ifdef _USE_SSE
-#ifndef HAVE_XMMINTRIN_H
+#if !defined(__SSE__) || !defined(HAVE_XMMINTRIN_H)
 #undef _USE_SSE
 #endif
 #endif
 
 #ifdef _USE_SSE2
-#ifndef HAVE_EMMINTRIN_H
+#if !defined(__SSE2__) || !defined(HAVE_EMMINTRIN_H)
 #undef _USE_SSE2
 #endif
 #endif