libFLAC: infer cpu type from compiler macros

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Tim Blechmann
2016-05-11 14:05:49 +02:00
committed by Erik de Castro Lopo
parent bbf1e3eaef
commit 912bff442e
10 changed files with 35 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
# include <config.h>
#endif
#include "private/cpu.h"
#ifndef FLAC__NO_ASM
#if (defined FLAC__CPU_IA32 || defined FLAC__CPU_X86_64) && defined FLAC__HAS_X86INTRIN
#include "private/stream_encoder.h"