aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-10-02 21:44:08 -0700
committerChris Robinson <[email protected]>2011-10-02 21:44:08 -0700
commit7f5074949ea8d92301179e14b49735147d9fa5e5 (patch)
tree7d82659a2169b58571b04bc4abaec57ed38d46a1 /OpenAL32
parentcf10a8d321ec926ba93aad3049fc2d1910dc02b0 (diff)
Don't use inline asm with MSVC on 64-bit
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
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__)