mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-02-19 13:40:37 -08:00
MCW_EM is not defined on custom-built MINGW32 compilers
This commit is contained in:
parent
ab7c605fc9
commit
af56f59466
1 changed files with 5 additions and 1 deletions
|
|
@ -240,7 +240,11 @@ extern bool ecl_interrupt_enable;
|
|||
# define FE_UNDERFLOW EM_UNDERFLOW
|
||||
typedef int fenv_t;
|
||||
# else
|
||||
# define MCW_EM _MCW_EM
|
||||
# ifdef _MCW_EM
|
||||
# define MCW_EM _MCW_EM
|
||||
# else
|
||||
# define MCW_EM 0x0008001F
|
||||
# endif
|
||||
# define fenv_t int
|
||||
# endif
|
||||
# define feenableexcept(bits) { int cw = _controlfp(0,0); cw &= ~(bits); _controlfp(cw,MCW_EM); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue