diff options
author | Jerome Fisher | 2004-11-19 01:39:16 +0000 |
---|---|---|
committer | Jerome Fisher | 2004-11-19 01:39:16 +0000 |
commit | ea79c9c5e77c01d0b81174ae8f60029775a3e718 (patch) | |
tree | 028ee686e14f64bf83a26e1de53ec679171d017e /backends/midi/mt32 | |
parent | f93078209826a4bcc04cf226040e78a9bacbba7a (diff) | |
download | scummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.tar.gz scummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.tar.bz2 scummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.zip |
- Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, which don't seem to be supported).
svn-id: r15830
Diffstat (limited to 'backends/midi/mt32')
-rw-r--r-- | backends/midi/mt32/mt32emu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/midi/mt32/mt32emu.h b/backends/midi/mt32/mt32emu.h index 007e9cdc16..48c3d903fd 100644 --- a/backends/midi/mt32/mt32emu.h +++ b/backends/midi/mt32/mt32emu.h @@ -46,8 +46,12 @@ // This calculates the exact frequencies of notes as they are played, instead of offsetting from pre-cached semitones. Potentially very slow. #define MT32EMU_ACCURATENOTES 0 -#if (defined (_MSC_VER) && defined(_M_IX86)) || (defined(__GNUC__) && defined(__i386__)) +#if (defined (_MSC_VER) && defined(_M_IX86)) #define MT32EMU_HAVE_X86 +#elif defined(__GNUC__) +#if __GNUC__ >= 3 && defined(__i386__) +#define MT32EMU_HAVE_X86 +#endif #endif #ifdef MT32EMU_HAVE_X86 |