diff options
| -rw-r--r-- | lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp b/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp index 5947dde4aa7..2979d1e438b 100644 --- a/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp +++ b/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp @@ -94,10 +94,12 @@ PlatformNetBSD::Initialize ()      if (g_initialize_count++ == 0)      { +#if defined(__NetBSD__)          // Force a host flag to true for the default platform object.          PlatformSP default_platform_sp (new PlatformNetBSD(true));          default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture());          Platform::SetHostPlatform (default_platform_sp); +#endif          PluginManager::RegisterPlugin(PlatformNetBSD::GetPluginNameStatic(false),                                        PlatformNetBSD::GetDescriptionStatic(false),                                        PlatformNetBSD::CreateInstance); | 

