diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-03 04:22:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-03 04:22:24 +0000 |
commit | 6d32a4e32b334195c0439bd09bfc9b9e7e560b9c (patch) | |
tree | d5e7b5e8d76a680db8131e8699877eef2fbd8642 /win32 | |
parent | c61af2041178c9b0ccbf8c42fb89382d8ec9b411 (diff) |
win32.c: fix build error
* win32/win32.c (poll_child_status): fix build error on older mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index 71dbead1b0..002535bdc9 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3925,8 +3925,12 @@ poll_child_status(struct ChildRecord *child, int *stat_loc) {STATUS_FLOAT_OVERFLOW, SIGFPE}, {STATUS_FLOAT_STACK_CHECK, SIGFPE}, {STATUS_FLOAT_UNDERFLOW, SIGFPE}, +#ifdef STATUS_FLOAT_MULTIPLE_FAULTS {STATUS_FLOAT_MULTIPLE_FAULTS, SIGFPE}, +#endif +#ifdef STATUS_FLOAT_MULTIPLE_TRAPS {STATUS_FLOAT_MULTIPLE_TRAPS, SIGFPE}, +#endif {STATUS_CONTROL_C_EXIT, SIGINT}, }; int i; |