#if !_GLIBCXX_HOSTED
// A freestanding C runtime may not provide "free" -- but there is no
// other reasonable way to implement "operator delete".
-_GLIBCXX_BEGIN_NAMESPACE(std)
+namespace std
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
extern "C" void free(void*);
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
#else
# include <cstdlib>
#endif