]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - include/fenv.h
conformtest: Fix namespace testing.
[thirdparty/glibc.git] / include / fenv.h
index 9f90d17090ee85571ed0530fc2e5b8ad76b8e802..925d4b50c3991f69efcdf8278043d95c4405195e 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _FENV_H
 #include <math/fenv.h>
-#include <stdbool.h>
 
 #ifndef _ISOMAC
+# include <stdbool.h>
 /* Now define the internal interfaces.  */
 
 extern int __feclearexcept (int __excepts);
@@ -22,7 +22,6 @@ libm_hidden_proto (feholdexcept)
 libm_hidden_proto (feupdateenv)
 libm_hidden_proto (fetestexcept)
 libm_hidden_proto (feclearexcept)
-#endif
 
 /* Rounding mode context.  This allows functions to set/restore rounding mode
    only when the desired rounding mode is different from the current rounding
@@ -32,5 +31,6 @@ struct rm_ctx
   fenv_t env;
   bool updated_status;
 };
+#endif
 
 #endif