aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2013-10-01 11:20:36 -0700
committerPaul Pluzhnikov <ppluzhnikov@gcc.gnu.org>2013-10-01 11:20:36 -0700
commit4167a189f65b86f7797145526b153154e52d79af (patch)
tree84b2db83ec194dbc8f9a85d47399262fac082d16 /libstdc++-v3/src
parent6462fab0a28c3382cd046ab86561f547bdff763b (diff)
downloadgcc-4167a189f65b86f7797145526b153154e52d79af.zip
gcc-4167a189f65b86f7797145526b153154e52d79af.tar.gz
gcc-4167a189f65b86f7797145526b153154e52d79af.tar.bz2
Fix build break when configured with --enable-symvers=gnu-versioned-namespace
2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com> * src/c++11/snprintf_lite.cc: Add missing _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION From-SVN: r203076
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/c++11/snprintf_lite.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/src/c++11/snprintf_lite.cc b/libstdc++-v3/src/c++11/snprintf_lite.cc
index 1e0ccec..492df31 100644
--- a/libstdc++-v3/src/c++11/snprintf_lite.cc
+++ b/libstdc++-v3/src/c++11/snprintf_lite.cc
@@ -28,10 +28,12 @@
#include <bits/locale_facets.h>
namespace std {
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _CharT, typename _ValueT>
int
__int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit,
ios_base::fmtflags __flags, bool __dec);
+_GLIBCXX_END_NAMESPACE_VERSION
}
namespace __gnu_cxx {