diff options
Diffstat (limited to 'unittests/Support/TimerTest.cpp')
-rw-r--r-- | unittests/Support/TimerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/TimerTest.cpp b/unittests/Support/TimerTest.cpp index 082a7e35db5..a92ecf1ac51 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; |