// -*- C++ -*- compatibility header.
-// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2007-2014 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
# include_next <fenv.h>
#endif
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
#if _GLIBCXX_USE_C99_FENV_TR1
#undef fesetenv
#undef feupdateenv
-_GLIBCXX_BEGIN_NAMESPACE(std)
-
+namespace std
+{
// types
using ::fenv_t;
using ::fexcept_t;
using ::feholdexcept;
using ::fesetenv;
using ::feupdateenv;
-
-_GLIBCXX_END_NAMESPACE
+} // namespace
#endif // _GLIBCXX_USE_C99_FENV_TR1
-#endif // __GXX_EXPERIMENTAL_CXX0X__
+#endif // C++11
#endif // _GLIBCXX_FENV_H