浏览代码

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


正在加载...
取消
保存