diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-07-24 12:30:28 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-07-24 12:30:28 +0000 |
commit | a0cbafebd7272e3a556f5737d19bbac555c2de44 (patch) | |
tree | eb40ed18567a9ad765576edc610a1ca89083dce0 /libstdc++-v3/include/tr1/cstdint | |
parent | 63c2d00ca70c962e229d8353772f53b49c20680f (diff) | |
download | gcc-a0cbafebd7272e3a556f5737d19bbac555c2de44.zip gcc-a0cbafebd7272e3a556f5737d19bbac555c2de44.tar.gz gcc-a0cbafebd7272e3a556f5737d19bbac555c2de44.tar.bz2 |
cinttypes: Simply protect everything with _GLIBCXX_USE_C99_INTTYPES_TR1.
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
Diffstat (limited to 'libstdc++-v3/include/tr1/cstdint')
-rw-r--r-- | libstdc++-v3/include/tr1/cstdint | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/include/tr1/cstdint b/libstdc++-v3/include/tr1/cstdint index 37a1550..198d746 100644 --- a/libstdc++-v3/include/tr1/cstdint +++ b/libstdc++-v3/include/tr1/cstdint @@ -36,14 +36,12 @@ #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 |