Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2092)

Unified Diff: src/core/model/wall-clock-synchronizer.cc

Issue 342120043: New patch for core module changes (Closed)
Patch Set: Update for review comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/model/wall-clock-synchronizer.h ('k') | src/core/model/watchdog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/model/wall-clock-synchronizer.cc
===================================================================
--- a/src/core/model/wall-clock-synchronizer.cc
+++ b/src/core/model/wall-clock-synchronizer.cc
@@ -18,8 +18,12 @@
#include <ctime> // clock_t
+#ifndef _WIN32
#include <sys/time.h> // gettimeofday
// clock_getres: glibc < 2.17, link with librt
+#else
+#include "win32-time.h"
+#endif
#include "log.h"
#include "system-condition.h"
@@ -329,7 +333,9 @@
}
}
// Quiet compiler
+#ifndef _WIN32
return true;
+#endif
}
bool
« no previous file with comments | « src/core/model/wall-clock-synchronizer.h ('k') | src/core/model/watchdog.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b