[Lldb-commits] [lldb] r246859 - Use correct #ifdef check for ProcessWindowsLog::Terminate() call.

Hafiz Abid Qadeer via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 09:34:19 PDT 2015


Author: abidh
Date: Fri Sep  4 11:34:19 2015
New Revision: 246859

URL: http://llvm.org/viewvc/llvm-project?rev=246859&view=rev
Log:
Use correct #ifdef check for ProcessWindowsLog::Terminate() call.

The call to ProcessWindowsLog::Initialize() is protected by #if defined(_MSC_VER).
But the call to ProcessWindowsLog::Terminate() was using __WIN32__. This commit
makes it use _MSC_VER too.

Committing as it seems obvious change.


Modified:
    lldb/trunk/source/Initialization/SystemInitializerCommon.cpp

Modified: lldb/trunk/source/Initialization/SystemInitializerCommon.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Initialization/SystemInitializerCommon.cpp?rev=246859&r1=246858&r2=246859&view=diff
==============================================================================
--- lldb/trunk/source/Initialization/SystemInitializerCommon.cpp (original)
+++ lldb/trunk/source/Initialization/SystemInitializerCommon.cpp Fri Sep  4 11:34:19 2015
@@ -174,7 +174,7 @@ SystemInitializerCommon::Terminate()
     PlatformDarwinKernel::Terminate();
 #endif
 
-#if defined(__WIN32__)
+#if defined(_MSC_VER)
     ProcessWindowsLog::Terminate();
 #endif
 




More information about the lldb-commits mailing list