Index: base/time/time_posix.cc |
diff --git a/base/time/time_posix.cc b/base/time/time_posix.cc |
index c1edb7a27298a4e7ec5a31ad2383e11879336bbe..f8f305f426402b6cc7f4c7c5e192fc48faac3058 100644 |
--- a/base/time/time_posix.cc |
+++ b/base/time/time_posix.cc |
@@ -28,6 +28,7 @@ |
namespace { |
+#if !defined(OS_MACOSX) |
// Define a system-specific SysTime that wraps either to a time_t or |
// a time64_t depending on the host system, and associated convertion. |
// See crbug.com/162007 |
@@ -66,7 +67,6 @@ void SysTimeToTimeStruct(SysTime t, struct tm* timestruct, bool is_local) { |
} |
#endif // OS_ANDROID |
-#if !defined(OS_MACOSX) |
// Helper function to get results from clock_gettime() as TimeTicks object. |
// Minimum requirement is MONOTONIC_CLOCK to be supported on the system. |
// FreeBSD 6 has CLOCK_MONOTONIC but defines _POSIX_MONOTONIC_CLOCK to -1. |