UnboundedBlockingQueue: Remove extra include
[folly.git] / folly / ClockGettimeWrappers.cpp
index 9d35e038cc0bb4a7a411e5ea4bda6b8b711ebf59..9aae08d26d85dc65001cdc3a48f6ad7ca017fdde 100644 (file)
@@ -48,7 +48,7 @@ static int64_t clock_gettime_ns_fallback(clockid_t clock) {
 int (*clock_gettime)(clockid_t, timespec* ts) = &::clock_gettime;
 int64_t (*clock_gettime_ns)(clockid_t) = &clock_gettime_ns_fallback;
 
-#ifdef __linux__
+#ifdef FOLLY_HAVE_LINUX_VDSO
 
 namespace {
 
@@ -82,8 +82,8 @@ struct VdsoInitializer {
 };
 
 static const VdsoInitializer vdso_initializer;
-}
+} // namespace
 
 #endif
-}
-}
+} // namespace chrono
+} // namespace folly