cpu.h : Only define FLAC__SSE_SUPPORTED if FLAC__HAS_X86INTRIN is set.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo 2014-09-18 21:35:11 +10:00
parent b60f16bbc8
commit ed530f6a4a
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@
#include <config.h> #include <config.h>
#endif #endif
#if defined FLAC__HAS_X86INTRIN
/* SSE intrinsics support by ICC/MSVC/GCC */ /* SSE intrinsics support by ICC/MSVC/GCC */
#if defined __INTEL_COMPILER #if defined __INTEL_COMPILER
#define FLAC__SSE_TARGET(x) #define FLAC__SSE_TARGET(x)
@ -79,6 +80,7 @@
#endif #endif
#endif /* GCC version */ #endif /* GCC version */
#endif /* compiler version */ #endif /* compiler version */
#endif /* intrinsics support */
typedef enum { typedef enum {
FLAC__CPUINFO_TYPE_IA32, FLAC__CPUINFO_TYPE_IA32,