about summary refs log tree commit diff
path: root/include/fenv.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-09-04 20:47:21 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-09-04 20:47:21 +0000
commitb92a20b5603bfb7cd7cd775f3ca9099731ac63cf (patch)
treec69e17148e280664329a85a1cb2ef96cb4d6237c /include/fenv.h
parent9fc2e09ffad2c702b6768bc4560b0cc55fce0914 (diff)
downloadglibc-b92a20b5603bfb7cd7cd775f3ca9099731ac63cf.tar.gz
glibc-b92a20b5603bfb7cd7cd775f3ca9099731ac63cf.tar.xz
glibc-b92a20b5603bfb7cd7cd775f3ca9099731ac63cf.zip
conformtest: Fix namespace testing.
Diffstat (limited to 'include/fenv.h')
-rw-r--r--include/fenv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fenv.h b/include/fenv.h
index 9f90d17090..925d4b50c3 100644
--- a/include/fenv.h
+++ b/include/fenv.h
@@ -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