Index: util/misc/clock.h |
diff --git a/util/misc/clock.h b/util/misc/clock.h |
index 88bdcd508c16d3bbed1def82b08b1c44c22e2306..a07e12a6ee154d0b20e5c71a94fae3c8651313f5 100644 |
--- a/util/misc/clock.h |
+++ b/util/misc/clock.h |
@@ -17,6 +17,8 @@ |
#include <stdint.h> |
+#include "build/build_config.h" |
+ |
namespace crashpad { |
//! \brief Returns the value of the system’s monotonic clock. |
@@ -32,6 +34,8 @@ namespace crashpad { |
//! \return The value of the system’s monotonic clock, in nanoseconds. |
uint64_t ClockMonotonicNanoseconds(); |
+#if !defined(OS_WIN) // Not implemented on Windows yet. |
+ |
//! \brief Sleeps for the specified duration. |
//! |
//! \param[in] nanoseconds The number of nanoseconds to sleep. The actual sleep |
@@ -41,6 +45,8 @@ uint64_t ClockMonotonicNanoseconds(); |
//! being interrupted by a signal. |
void SleepNanoseconds(uint64_t nanoseconds); |
+#endif |
+ |
} // namespace crashpad |
#endif // CRASHPAD_UTIL_MISC_CLOCK_H_ |