From c9faf4654f49b100b597bb3efbc9cd161c92e94f Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Sun, 6 Jul 2008 17:38:08 +0000 Subject: [PATCH] system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid conflict with system macro on Darwin. * include/std/system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid conflict with system macro on Darwin. (is_error_condition_enum): Likewise. From-SVN: r137529 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/std/system_error | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c12e50cc9f6..db08bef03c2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2008-07-06 Roger Sayle + + * include/std/system_error (is_error_code_enum): Use identifier + _Tp instead of _T to avoid conflict with system macro on Darwin. + (is_error_condition_enum): Likewise. + 2008-07-05 Paolo Carlini * include/bits/postypes.h: Do not include . diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error index 343eb6e83f7..b0585810663 100644 --- a/libstdc++-v3/include/std/system_error +++ b/libstdc++-v3/include/std/system_error @@ -53,7 +53,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class system_error; /// is_error_code_enum - template + template struct is_error_code_enum : public false_type { }; template<> @@ -61,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) : public true_type { }; /// is_error_condition_enum - template + template struct is_error_condition_enum : public false_type { }; template<>