mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
audioresample: Fix build on x86 if emmintrin.h is available but can't be used
On i386, EMMINTRIN is defined but not usable without SSE so check for __SSE__ and __SSE2__ as well. https://bugzilla.gnome.org/show_bug.cgi?id=670690
This commit is contained in:
parent
bf4a72a4e6
commit
daa194b71e
1 changed files with 2 additions and 2 deletions
|
@ -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_XMMINTRIN_H)
|
||||
#undef _USE_SSE2
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue