]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3473: --resolve do not use asm optimizations on newer broken apple compiler until...
authorMichael Jerris <mike@jerris.com>
Tue, 30 Oct 2012 14:43:38 +0000 (10:43 -0400)
committerMichael Jerris <mike@jerris.com>
Tue, 30 Oct 2012 14:43:38 +0000 (10:43 -0400)
libs/spandsp/src/gsm0610_rpe.c

index 28b1a72e796f2b968a65df2cd64cf7e1f5452f1e..c62d892ce783261b9b702638746989a99ee26d35 100644 (file)
@@ -59,7 +59,7 @@
 static void weighting_filter(int16_t x[40],
                              const int16_t *e)      // signal [-5..0.39.44] IN)
 {
-#if defined(__GNUC__)  &&  defined(SPANDSP_USE_MMX)  &&  defined(__x86_64__)
+#if defined(__GNUC__)  &&  defined(SPANDSP_USE_MMX)  &&  defined(__x86_64__) && !(defined(__APPLE_CC__)  && __APPLE_CC__ >= 5448)
     /* Table 4.4   Coefficients of the weighting filter */
     /* This must be padded to a multiple of 4 for MMX to work */
     static const union