From 1569f1620ad43558d2d5621f3ea2a6720644c447 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 7 Sep 2011 22:21:32 +0000 Subject: [PATCH] core: mediocre workaround for mingw32 who ignores our FP_USE macro. --- src/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.h b/src/core.h index a61d729f..ac3453dd 100644 --- a/src/core.h +++ b/src/core.h @@ -33,6 +33,8 @@ # define FP_USE(x) __asm__("" : "+f" (x)) # elif defined __x86_64__ # define FP_USE(x) __asm__("" : "+x" (x)) +# elif defined _WIN32 /* FIXME: this isn't good */ +# define FP_USE(x) __asm__("" : "+m" (x)) # elif defined __i386__ # define FP_USE(x) __asm__("" : "+t" (x)) # endif