Ver código fonte

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

legacy
Sam Hocevar sam 13 anos atrás
pai
commit
1569f1620a
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      src/core.h

+ 2
- 0
src/core.h Ver arquivo

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


Carregando…
Cancelar
Salvar