diff options
Diffstat (limited to 'test/utils.c')
-rw-r--r-- | test/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/utils.c b/test/utils.c index 222d4d5..8657966 100644 --- a/test/utils.c +++ b/test/utils.c @@ -966,9 +966,11 @@ enable_divbyzero_exceptions (void) { #ifdef HAVE_FENV_H #ifdef HAVE_FEENABLEEXCEPT +#ifdef HAVE_FEDIVBYZERO feenableexcept (FE_DIVBYZERO); #endif #endif +#endif } void |