]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1.
authorPaolo Carlini <pcarlini@suse.de>
Mon, 24 Jul 2006 12:30:28 +0000 (12:30 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 24 Jul 2006 12:30:28 +0000 (12:30 +0000)
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.

From-SVN: r115715

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/cfenv
libstdc++-v3/include/tr1/cinttypes
libstdc++-v3/include/tr1/cstdint

index 155bb86b7f36872cd18ebc29d70bc550eec15dbd..e5c40572955266994a6a8597c43a0350818832a2 100644 (file)
@@ -1,3 +1,10 @@
+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.
index d4e925a8bc3988ec34d1e9f9ac899156aead9b2b..93f6d43167ac6f0d634a1a743fa3ed6f43e1534c 100644 (file)
 
 #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
index 25e5c075e4a47c1d0346716772cc3dd733213ec6..5a899fe92485237838a602206581a6385acd54f2 100644 (file)
 #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
index 37a1550a5a2edc0fc3ddbd86f8b621e289e0485d..198d74654e6aff64a3334930cc68abb62120d1ca 100644 (file)
 
 #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