summaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index 49d53e62d77..f9b518ca039 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -96,7 +96,7 @@ struct LTOToolDiagnosticHandler : public DiagnosticHandler {
// Initialize the configured targets if they have not been initialized.
static void lto_initialize() {
if (!initialized) {
-#ifdef LLVM_ON_WIN32
+#ifdef _WIN32
// Dialog box on crash disabling doesn't work across DLL boundaries, so do
// it here.
llvm::sys::DisableSystemDialogsOnCrash();