diff options
| author | 2019-01-27 16:42:12 +0000 | |
|---|---|---|
| committer | 2019-01-27 16:42:12 +0000 | |
| commit | b773203fb58f3ef282fb69c832d8710cab5bc82d (patch) | |
| tree | e75913f147570fbd75169647b144df85b88a038c /gnu/llvm/unittests/Support/TimerTest.cpp | |
| parent | tweak errno in previous (diff) | |
| download | wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip | |
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/unittests/Support/TimerTest.cpp')
| -rw-r--r-- | gnu/llvm/unittests/Support/TimerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/llvm/unittests/Support/TimerTest.cpp b/gnu/llvm/unittests/Support/TimerTest.cpp index 082a7e35db5..a92ecf1ac51 100644 --- a/gnu/llvm/unittests/Support/TimerTest.cpp +++ b/gnu/llvm/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; |
