+2006-07-24 Paolo Carlini <pcarlini@suse.de>
+
+ * include/tr1/cinttypes: Simply protect everything with
+ _GLIBCXX_USE_C99_INTTYPES_TR1.
+ * include/tr1/cfenv: Likewise with _GLIBCXX_USE_C99_FENV_TR1.
+ * include/tr1/cstdint: Likewise with _GLIBCXX_USE_C99_STDINT_TR1.
+
2006-07-21 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/random: Make include guards consistent.
#include <bits/c++config.h>
-#if _GLIBCXX_HAVE_FENV_H
-#include <fenv.h>
-#endif
-
#if _GLIBCXX_USE_C99_FENV_TR1
+#include <fenv.h>
+
#undef feclearexcept
#undef fegetexceptflag
#undef feraiseexcept
#define _TR1_CINTTYPES 1
#include <bits/c++config.h>
-
#include <tr1/cstdint>
-#if _GLIBCXX_HAVE_INTTYPES_H
+#if _GLIBCXX_USE_C99_INTTYPES_TR1
+
// For 8.11.1/1 (see C99, Note 184)
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
-#endif
-
-#if _GLIBCXX_USE_C99_INTTYPES_TR1
// namespace std::tr1
namespace std
#include <bits/c++config.h>
-#if _GLIBCXX_HAVE_STDINT_H
+#if _GLIBCXX_USE_C99_STDINT_TR1
+
// For 8.22.1/1 (see C99, Notes 219, 220, 222)
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#include <stdint.h>
-#endif
-
-#if _GLIBCXX_USE_C99_STDINT_TR1
// namespace std::tr1
namespace std