OSDN Git Service

2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / chrono.cc
index 4dcd74b..6b5e669 100644 (file)
@@ -1,6 +1,6 @@
 // chrono -*- C++ -*-
 
-// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009, 2010, 2011 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 <sys/time.h>
 #endif
 
-_GLIBCXX_BEGIN_NAMESPACE(std)
-
+namespace std _GLIBCXX_VISIBILITY(default)
+{
   namespace chrono
   {
-    constexpr bool system_clock::is_monotonic;
+  _GLIBCXX_BEGIN_NAMESPACE_VERSION
+   constexpr bool system_clock::is_monotonic;
 
     system_clock::time_point
     system_clock::now() throw ()
@@ -73,8 +75,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
                                 + chrono::nanoseconds(tp.tv_nsec)));
     }
 #endif
-  }
 
-_GLIBCXX_END_NAMESPACE
+  _GLIBCXX_END_NAMESPACE_VERSION
+  } // namespace chrono
+} // namespace std
 
 #endif // _GLIBCXX_USE_C99_STDINT_TR1