summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Chrono.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Chrono.cpp')
-rw-r--r--llvm/lib/Support/Chrono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Chrono.cpp b/llvm/lib/Support/Chrono.cpp
index 84f5aab6fc4..db5d77868e4 100644
--- a/llvm/lib/Support/Chrono.cpp
+++ b/llvm/lib/Support/Chrono.cpp
@@ -32,7 +32,7 @@ static inline struct tm getStructTM(TimePoint<> TP) {
assert(LT);
(void)LT;
#endif
-#if defined(LLVM_ON_WIN32)
+#if defined(_WIN32)
int Error = ::localtime_s(&Storage, &OurTime);
assert(!Error);
(void)Error;
OpenPOWER on IntegriCloud