aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-03 10:44:32 +0300
committerMartin Storsjo <martin@martin.st>2018-09-03 10:45:44 +0300
commit651ff34d8d35fb6a3b75471d54b271852f5924cc (patch)
tree912ac4f3740c43a5df560079911eb1af5f4fc1e9
parent9b47a5e569c5d340028bc8e9b4b289060ea7894f (diff)
downloadfdk-aac-651ff34d8d35fb6a3b75471d54b271852f5924cc.tar.gz
fdk-aac-651ff34d8d35fb6a3b75471d54b271852f5924cc.tar.bz2
fdk-aac-651ff34d8d35fb6a3b75471d54b271852f5924cc.zip
Remove a duplicate definition of fMax/fMin for x86_64 mingw
FIXP_SGL is a typedef for SHORT, so these extra definitions (which only were enabled on x86_64 mingw) were duplicates with the fMin/fMax functions defined for FIXP_SGL right above.
-rw-r--r--libFDK/include/common_fix.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libFDK/include/common_fix.h b/libFDK/include/common_fix.h
index 8d0dfde..7c08225 100644
--- a/libFDK/include/common_fix.h
+++ b/libFDK/include/common_fix.h
@@ -406,10 +406,6 @@ FDK_INLINE FIXP_SGL fMax(FIXP_SGL a, FIXP_SGL b) { return fixmax_S(a, b); }
#if !defined(__LP64__)
FDK_INLINE INT fMax(INT a, INT b) { return fixmax_I(a, b); }
FDK_INLINE INT fMin(INT a, INT b) { return fixmin_I(a, b); }
-#if !defined(_MSC_VER) && defined(__x86_64__)
-FDK_INLINE SHORT fMax(SHORT a, SHORT b) { return fixmax_S(a, b); }
-FDK_INLINE SHORT fMin(SHORT a, SHORT b) { return fixmin_S(a, b); }
-#endif
#endif
inline UINT fMax(UINT a, UINT b) { return fixmax_UI(a, b); }