Made cds::OS children namespaces inline, removed OS-specific syserror.h headers
[libcds.git] / cds / os / posix / timer.h
index 9275a241b5a48a7cb4dc2f123fee8f287fc6f8f6..1220a5b40a867b9957e33aadbca49acafb535767 100644 (file)
@@ -11,7 +11,7 @@
 
 //@cond none
 namespace cds { namespace OS {
-    namespace posix {
+    CDS_CXX11_INLINE_NAMESPACE namespace posix {
 
         // High resolution timer
         // From Linux as an example
@@ -79,7 +79,9 @@ namespace cds { namespace OS {
         };
     }    // namespace posix
 
+#ifndef CDS_CXX11_INLINE_NAMESPACE_SUPPORT
     using posix::Timer;
+#endif
 
 }}    // namespace cds::OS
 //@endcond