diff options
Diffstat (limited to 'source/creator/creator_signals.c')
-rw-r--r-- | source/creator/creator_signals.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c index 94e5874f71b..678617eb28f 100644 --- a/source/creator/creator_signals.c +++ b/source/creator/creator_signals.c @@ -335,8 +335,10 @@ void main_signal_setup_fpe(void) (_MM_MASK_OVERFLOW | _MM_MASK_INVALID | _MM_MASK_DIV_ZERO)); # endif /* OSX_SSE_FPE */ # if defined(_WIN32) && defined(_MSC_VER) - _controlfp_s(NULL, 0, _MCW_EM); /* enables all fp exceptions */ - _controlfp_s(NULL, _EM_DENORMAL | _EM_UNDERFLOW | _EM_INEXACT, _MCW_EM); /* hide the ones we don't care about */ + /* enables all fp exceptions */ + _controlfp_s(NULL, 0, _MCW_EM); + /* hide the ones we don't care about */ + _controlfp_s(NULL, _EM_DENORMAL | _EM_UNDERFLOW | _EM_INEXACT, _MCW_EM); # endif /* _WIN32 && _MSC_VER */ #endif } |