aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec/src
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-02 00:13:51 +0300
committerMartin Storsjo <martin@martin.st>2018-09-02 23:26:56 +0300
commit99e092f47b9fb984994401b198b3b4793bf65c19 (patch)
tree2ca8ca714ecd89dfe1bf2d732b5d385e1a1b2fa1 /libSBRdec/src
parent5d116645cb912222cc6c5a1643edee8a9b909e6b (diff)
downloadfdk-aac-99e092f47b9fb984994401b198b3b4793bf65c19.tar.gz
fdk-aac-99e092f47b9fb984994401b198b3b4793bf65c19.tar.bz2
fdk-aac-99e092f47b9fb984994401b198b3b4793bf65c19.zip
Replace __attribute__((always_inline)) with FDK_FORCEINLINE
This fixes compilation for ARM with MSVC.
Diffstat (limited to 'libSBRdec/src')
-rw-r--r--libSBRdec/src/hbe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libSBRdec/src/hbe.cpp b/libSBRdec/src/hbe.cpp
index 53b21c9..176815b 100644
--- a/libSBRdec/src/hbe.cpp
+++ b/libSBRdec/src/hbe.cpp
@@ -641,7 +641,7 @@ static const FIXP_DBL invCubeRootCorrection[3] = {0x40000000, 0x50A28BE6,
*/
static
#ifdef __arm__
- FIXP_DBL __attribute__((always_inline))
+ FIXP_DBL FDK_FORCEINLINE
invCubeRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL
@@ -763,7 +763,7 @@ static const FIXP_DBL invFourthRootCorrection[4] = {0x40000000, 0x4C1BF829,
static
#ifdef __arm__
- FIXP_DBL __attribute__((always_inline))
+ FIXP_DBL FDK_FORCEINLINE
invFourthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL
@@ -879,7 +879,7 @@ static const FIXP_DBL inv3EigthRootCorrection[8] = {
static
#ifdef __arm__
- FIXP_DBL __attribute__((always_inline))
+ FIXP_DBL FDK_FORCEINLINE
inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL