]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/src/c++11/chrono.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / src / c++11 / chrono.cc
index 232a198e684a0417e3864859324ce034e8f11a8e..723f3002d11a138d14df42b3d43e9007ece7f1fd 100644 (file)
@@ -1,6 +1,6 @@
 // chrono -*- C++ -*-
 
-// Copyright (C) 2008-2016 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 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
@@ -25,8 +25,6 @@
 #include <bits/c++config.h>
 #include <chrono>
 
-#ifdef _GLIBCXX_USE_C99_STDINT_TR1
-
 // Conditional inclusion of sys/time.h for gettimeofday
 #if !defined(_GLIBCXX_USE_CLOCK_MONOTONIC) && \
     !defined(_GLIBCXX_USE_CLOCK_REALTIME) && \
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
+
   namespace chrono
   {
-  _GLIBCXX_BEGIN_NAMESPACE_VERSION
-
     // XXX GLIBCXX_ABI Deprecated
     inline namespace _V2 {
 
@@ -75,7 +73,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
 #endif
     }
 
-    
+
     constexpr bool steady_clock::is_steady;
 
     steady_clock::time_point
@@ -97,9 +95,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
     }
 
   } // end inline namespace _V2
-
-  _GLIBCXX_END_NAMESPACE_VERSION
   } // namespace chrono
-} // namespace std
 
-#endif // _GLIBCXX_USE_C99_STDINT_TR1
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace std