Author: zturner Date: Thu Nov 5 13:22:06 2015 New Revision: 252190 URL: http://llvm.org/viewvc/llvm-project?rev=252190&view=rev Log: Fix build on platforms that don't have dlfcn.h
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp?rev=252190&r1=252189&r2=252190&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp (original) +++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp Thu Nov 5 13:22:06 2015 @@ -10,7 +10,10 @@ #include "PlatformAppleSimulator.h" // C Includes +#if defined(__APPLE__) #include <dlfcn.h> +#endif + // C++ Includes #include <mutex> #include <thread> _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits