From 4c433e5206756aad8f7d13d8d0183df24106ee80 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 26 May 2014 13:57:15 +0000 Subject: [PATCH] Use MIUtilSystemLinux on FreeBSD as well We should later rename this file (probably MIUtilSystemPOSIX), but more clean-up is still needed here, and we can wait until we better understand how this code may be shared between FreeBSD, Linux, and OS X. llvm-svn: 209631 --- lldb/tools/lldb-mi/MICmnLogMediumFile.cpp | 2 +- lldb/tools/lldb-mi/MIUtilSystemLinux.cpp | 2 +- lldb/tools/lldb-mi/MIUtilSystemLinux.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp b/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp index c6bc009..a14ad04 100644 --- a/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp +++ b/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp @@ -28,7 +28,7 @@ #if defined( _MSC_VER ) #include "MIUtilSystemWindows.h" -#elif defined( __linux ) +#elif defined( __FreeBSD__ ) || defined( __linux ) #include "MIUtilSystemLinux.h" #elif defined( __APPLE__ ) #include "MIUtilSystemOsx.h" diff --git a/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp b/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp index 9805feb..de14317 100644 --- a/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp +++ b/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp @@ -22,7 +22,7 @@ // Include compiler configuration #include "MICmnConfig.h" -#if defined( __linux ) +#if defined( __FreeBSD__ ) || defined( __linux ) // In-house headers: #include "MIUtilSystemLinux.h" diff --git a/lldb/tools/lldb-mi/MIUtilSystemLinux.h b/lldb/tools/lldb-mi/MIUtilSystemLinux.h index f04024b..c79bcfd 100644 --- a/lldb/tools/lldb-mi/MIUtilSystemLinux.h +++ b/lldb/tools/lldb-mi/MIUtilSystemLinux.h @@ -24,7 +24,7 @@ // Include compiler configuration #include "MICmnConfig.h" -#if defined( __linux ) +#if defined( __FreeBSD__ ) || defined( __linux ) // In-house headers: #include "MIUtilString.h" -- 2.7.4