mirror of https://github.com/mstorsjo/fdk-aac.git
fix compilation with mips16
Some users wrongly pass both -mips16 and -mdsp when compiling on MIPS platforms. Handle such a case. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
f490b51ab7
commit
ade2484bc8
|
@ -107,7 +107,7 @@ amm-info@iis.fraunhofer.de
|
|||
|
||||
#if defined(__GNUC__) && defined(__mips__)
|
||||
|
||||
#if defined(__mips_dsp)
|
||||
#if defined(__mips_dsp) && !defined(__mips16)
|
||||
#define FUNCTION_fixabs_D
|
||||
#define FUNCTION_fixabs_I
|
||||
#define FUNCTION_fixabs_S
|
||||
|
|
|
@ -103,7 +103,7 @@ amm-info@iis.fraunhofer.de
|
|||
#ifndef SCALE_MIPS_H
|
||||
#define SCALE_MIPS_H
|
||||
|
||||
#if defined(__mips_dsp)
|
||||
#if defined(__mips_dsp) && !defined(__mips16)
|
||||
|
||||
/*!
|
||||
*
|
||||
|
|
|
@ -108,7 +108,7 @@ amm-info@iis.fraunhofer.de
|
|||
#if defined(__arm__)
|
||||
#include "arm/scramble_arm.h"
|
||||
|
||||
#elif defined(__mips__) && defined(__mips_dsp)
|
||||
#elif defined(__mips__) && defined(__mips_dsp) && !defined(__mips16)
|
||||
#include "mips/scramble_mips.h"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -109,7 +109,7 @@ amm-info@iis.fraunhofer.de
|
|||
#if defined(__arm__)
|
||||
#include "arm/fft_rad2_arm.cpp"
|
||||
|
||||
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp)
|
||||
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp) && !defined(__mips16)
|
||||
#include "mips/fft_rad2_mips.cpp"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -100,7 +100,7 @@ amm-info@iis.fraunhofer.de
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
#if defined(__mips_dsp)
|
||||
#if defined(__mips_dsp) && !defined(__mips16)
|
||||
|
||||
#ifndef FUNCTION_getScalefactor_DBL
|
||||
#define FUNCTION_getScalefactor_DBL
|
||||
|
|
Loading…
Reference in New Issue