diff options
| author | Ed Maste <emaste@freebsd.org> | 2014-05-26 13:57:15 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2014-05-26 13:57:15 +0000 |
| commit | 4c433e5206756aad8f7d13d8d0183df24106ee80 (patch) | |
| tree | 3c200260db6e50cffbb90dca5cb7516f5aaf3b3e /lldb/tools | |
| parent | d60480f7b6177a6124a0f56f17ab0a083ced2702 (diff) | |
| download | bcm5719-llvm-4c433e5206756aad8f7d13d8d0183df24106ee80.tar.gz bcm5719-llvm-4c433e5206756aad8f7d13d8d0183df24106ee80.zip | |
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
Diffstat (limited to 'lldb/tools')
| -rw-r--r-- | lldb/tools/lldb-mi/MICmnLogMediumFile.cpp | 2 | ||||
| -rw-r--r-- | lldb/tools/lldb-mi/MIUtilSystemLinux.cpp | 2 | ||||
| -rw-r--r-- | 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 c6bc0098fd0..a14ad044a7a 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 9805febb394..de1431782df 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 f04024bfa31..c79bcfd9d2f 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" |

