diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-19 15:21:50 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-19 15:21:50 +0000 |
commit | 18bead43d4f106f72bdbb72b215d2a1334aa0a98 (patch) | |
tree | 132feb95a9fb4bd4a67a58ed9bd85300e4d2a746 /mp3lib/decode_MMX.c | |
parent | e22ab316777b3213cf65e24637d821acfa4cc251 (diff) | |
download | mpv-18bead43d4f106f72bdbb72b215d2a1334aa0a98.tar.bz2 mpv-18bead43d4f106f72bdbb72b215d2a1334aa0a98.tar.xz |
fix mp3lib compilation on OSX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21056 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decode_MMX.c')
-rw-r--r-- | mp3lib/decode_MMX.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mp3lib/decode_MMX.c b/mp3lib/decode_MMX.c index 7fd9e477f5..f4340dc83d 100644 --- a/mp3lib/decode_MMX.c +++ b/mp3lib/decode_MMX.c @@ -48,6 +48,7 @@ unsigned long __attribute__((aligned(16))) costab_mmx[] = 1060439283, }; +#ifndef SYS_DARWIN static int temp; // buggy gcc 3.x fails if this is moved into the function :( void synth_1to1_MMX_s(real *bandPtr, int channel, short *samples, short *buffs, int *bo) @@ -246,3 +247,4 @@ __asm __volatile( :"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp) :"memory","%edi","%esi","%ebx","%esp"); } +#endif /* SYS_DARWIN */ |