... missed hiding a variable for MSVC only.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 16:10:35 +0000 (16:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 16:10:35 +0000 (16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82552 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Signals.inc

index ca43bbf5972a627680c20e4c8f629f91b1fa9e84..dba22185ac7f0b44feeb46fdfa5cdcfc2625452b 100644 (file)
@@ -43,7 +43,9 @@ static std::vector<llvm::sys::Path> *FilesToRemove = NULL;
 static std::vector<std::pair<void(*)(void*), void*> > *CallBacksToRun = 0;
 static bool RegisteredUnhandledExceptionFilter = false;
 static bool CleanupExecuted = false;
+#ifdef _MSC_VER
 static bool ExitOnUnhandledExceptions = false;
+#endif
 static PTOP_LEVEL_EXCEPTION_FILTER OldFilter = NULL;
 
 // Windows creates a new thread to execute the console handler when an event