Browse Source

core: mediocre workaround for mingw32 who ignores our FP_USE macro.

legacy
Sam Hocevar sam 13 years ago
parent
commit
1569f1620a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/core.h

+ 2
- 0
src/core.h View File

@@ -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


Loading…
Cancel
Save