diff --git a/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp b/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp index a14ad044a7a4..382db074d455 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( __FreeBSD__ ) || 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 de1431782df0..9c4deb45d9d7 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( __FreeBSD__ ) || defined( __linux ) +#if defined( __FreeBSD__ ) || defined( __linux__ ) // In-house headers: #include "MIUtilSystemLinux.h" @@ -119,4 +119,4 @@ bool CMIUtilSystemLinux::GetLogFilesPath( CMIUtilString & vrwFileNamePath ) cons return MIstatus::success; } -#endif // #if defined( __linux ) +#endif // #if defined( __linux__ ) diff --git a/lldb/tools/lldb-mi/MIUtilSystemLinux.h b/lldb/tools/lldb-mi/MIUtilSystemLinux.h index c79bcfd9d2fd..0d9062a7595e 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( __FreeBSD__ ) || defined( __linux ) +#if defined( __FreeBSD__ ) || defined( __linux__ ) // In-house headers: #include "MIUtilString.h" @@ -57,4 +57,4 @@ public: typedef CMIUtilSystemLinux CMIUtilSystem; -#endif // #if defined( __linux ) +#endif // #if defined( __linux__ )