From 7f5074949ea8d92301179e14b49735147d9fa5e5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 2 Oct 2011 21:44:08 -0700 Subject: Don't use inline asm with MSVC on 64-bit --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 74a8959c..3c47d024 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -481,7 +481,7 @@ static __inline ALuint NextPowerOf2(ALuint value) static __inline ALint fastf2i(ALfloat f) { ALint i; -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(_WIN64) __asm fld f __asm fistp i #elif defined(__GNUC__) -- cgit v1.2.3