aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/i386-io-windows.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/i386-io-windows.h b/lib/i386-io-windows.h
index fd4030d..c181b4f 100644
--- a/lib/i386-io-windows.h
+++ b/lib/i386-io-windows.h
@@ -32,11 +32,13 @@
#elif defined(__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 9) || (__GNUC__ > 4))
#include <x86intrin.h>
#elif defined(_MSC_VER) && defined(_M_IX86)
-static inline unsigned int
+static unsigned int
__readeflags(void)
{
- __asm pushfd;
- __asm pop eax;
+ __asm {
+ pushfd
+ pop eax
+ }
}
#elif defined(__GNUC__)
static inline unsigned