summaryrefslogtreecommitdiff
path: root/unittests/Support/TimerTest.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
commiteb11fae6d08f479c0799db45860a98af528fa6e7 (patch)
tree44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /unittests/Support/TimerTest.cpp
parentb8a2042aa938069e862750553db0e4d82d25822c (diff)
Notes
Diffstat (limited to 'unittests/Support/TimerTest.cpp')
-rw-r--r--unittests/Support/TimerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TimerTest.cpp b/unittests/Support/TimerTest.cpp
index 082a7e35db52..a92ecf1ac510 100644
--- a/unittests/Support/TimerTest.cpp
+++ b/unittests/Support/TimerTest.cpp
@@ -10,7 +10,7 @@
#include "llvm/Support/Timer.h"
#include "gtest/gtest.h"
-#if LLVM_ON_WIN32
+#if _WIN32
#include <windows.h>
#else
#include <time.h>
@@ -22,7 +22,7 @@ namespace {
// FIXME: Put this somewhere in Support, it's also used in LockFileManager.
void SleepMS() {
-#if LLVM_ON_WIN32
+#if _WIN32
Sleep(1);
#else
struct timespec Interval;