瀏覽代碼

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

legacy
Sam Hocevar sam 13 年之前
父節點
當前提交
1569f1620a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/core.h

+ 2
- 0
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


Loading…
取消
儲存