aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/c_std/cmath.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c_std/cmath.tcc')
-rw-r--r--libstdc++-v3/include/c_std/cmath.tcc12
1 files changed, 8 insertions, 4 deletions
diff --git a/libstdc++-v3/include/c_std/cmath.tcc b/libstdc++-v3/include/c_std/cmath.tcc
index 737b58c7de9..420d3683c1b 100644
--- a/libstdc++-v3/include/c_std/cmath.tcc
+++ b/libstdc++-v3/include/c_std/cmath.tcc
@@ -1,6 +1,7 @@
// -*- C++ -*- C math library.
-// Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
+// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -32,8 +33,10 @@
#ifndef _GLIBCXX_CMATH_TCC
#define _GLIBCXX_CMATH_TCC 1
-namespace std
-{
+#include <bits/c++config.h>
+
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
template<typename _Tp>
inline _Tp
__cmath_power(_Tp __x, unsigned int __n)
@@ -49,6 +52,7 @@ namespace std
return __y;
}
-}
+
+_GLIBCXX_END_NAMESPACE
#endif