diff options
Diffstat (limited to 'libgcompat')
-rw-r--r-- | libgcompat/fenv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgcompat/fenv.c b/libgcompat/fenv.c index b761f89..07dbec1 100644 --- a/libgcompat/fenv.c +++ b/libgcompat/fenv.c @@ -3,7 +3,10 @@ int fedisableexcept(int excepts) { } int feenableexcept(int excepts) { - return 0; + if(excepts != 0) { + return -1; + } + return 0; } int fegetexcept(void) { |