math: tgammal.c fixes
[oweals/musl.git] / src / math / nearbyintf.c
index 39c3d73b5edb3deac52d193196e34a66f00ab359..092e9ffae56e96b7d24003ea9d34adb9b4ea6e0d 100644 (file)
@@ -4,6 +4,7 @@
 float nearbyintf(float x)
 {
 #ifdef FE_INEXACT
+       #pragma STDC FENV_ACCESS ON
        int e;
 
        e = fetestexcept(FE_INEXACT);