[Lldb-commits] [lldb] r252124 - Fix build on Linux.

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 4 17:23:19 PST 2015


Author: chaoren
Date: Wed Nov  4 19:23:19 2015
New Revision: 252124

URL: http://llvm.org/viewvc/llvm-project?rev=252124&view=rev
Log:
Fix build on Linux.

Modified:
    lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm

Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm?rev=252124&r1=252123&r2=252124&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm Wed Nov  4 19:23:19 2015
@@ -9,6 +9,8 @@
 
 #include "PlatformiOSSimulatorCoreSimulatorSupport.h"
 
+#if defined (__APPLE__)  // This Plugin uses the Mac-specific source/Host/macosx/cfcpp utilities
+
 // C Includes
 // C++ Includes
 // Other libraries and framework includes
@@ -771,3 +773,5 @@ CoreSimulatorSupport::DeviceSet::GetFanc
     
     return dev;
 }
+
+#endif // __APPLE__




More information about the lldb-commits mailing list