summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/CurrentTime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/CurrentTime.cpp')
-rw-r--r--JavaScriptCore/wtf/CurrentTime.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/JavaScriptCore/wtf/CurrentTime.cpp b/JavaScriptCore/wtf/CurrentTime.cpp
index 45c724a..6751995 100644
--- a/JavaScriptCore/wtf/CurrentTime.cpp
+++ b/JavaScriptCore/wtf/CurrentTime.cpp
@@ -63,6 +63,10 @@ extern "C" time_t mktime(struct tm *t);
#include <sys/time.h>
#endif
+#if PLATFORM(CHROMIUM)
+#error Chromium uses a different timer implementation
+#endif
+
namespace WTF {
const double msPerSecond = 1000.0;