summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-30 21:39:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-31 23:43:20 +0900
commit8b3b42f2c57dca9750290b384e046b2d6f9a84de (patch)
treeec0899d4e326875442eca638d4990ea4e4abd6a8
parentff389e8123119423e95e32aa0e19a91c41268e74 (diff)
downloadk3b-r14.1.x.tar.gz
k3b-r14.1.x.zip
Remove support for Metrowerks compilerr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e016e99e37a10b50446776f390e34582ed1c845c)
-rw-r--r--libk3b/plugin/libsamplerate/float_cast.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/libk3b/plugin/libsamplerate/float_cast.h b/libk3b/plugin/libsamplerate/float_cast.h
index 7088007..533b837 100644
--- a/libk3b/plugin/libsamplerate/float_cast.h
+++ b/libk3b/plugin/libsamplerate/float_cast.h
@@ -106,42 +106,6 @@
return intgr ;
}
-#elif (defined (__MWERKS__) && defined (macintosh))
-
- /* This MacOS 9 solution was provided by Stephane Letz */
-
- #undef HAVE_LRINT_REPLACEMENT
- #define HAVE_LRINT_REPLACEMENT 1
- #include <math.h>
-
- #undef lrint
- #undef lrintf
-
- #define lrint double2int
- #define lrintf float2int
-
- inline int
- float2int (float in)
- { long res [2] ;
-
- asm
- { fctiw in,in
- stfd in,res
- }
- return res [1] ;
- } /* float2int */
-
- inline int
- double2int (double in)
- { long res [2] ;
-
- asm
- { fctiw in,in
- stfd in,res
- }
- return res [1] ;
- } /* double2int */
-
#elif (defined (__MACH__) && defined (__APPLE__))
/* For Apple MacOSX. */