Use __linux__ macro throughout, instead of ocasional __linux.
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 30 Jul 2014 08:33:21 +0000 (08:33 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 30 Jul 2014 08:33:21 +0000 (08:33 +0000)
commit3b6c466e961ad97b75a1df79624fe1bc8db02b40
tree5b812e38418d21f3f2109867ae56e10fbd347269
parent8d5f9ab2cc2a76d490ffc6317d9552b05901ff63
Use __linux__ macro throughout, instead of ocasional __linux.

__linux is not universally defined across all standards versions, compilers and architectures. Specifically at C99 and up, it's not defined in GCC on powerpc platform.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314

Bugzilla: http://llvm.org/bugs/show_bug.cgi?id=20380

Patch by Dimitri John Ledkov <dimitri.ledkov@canonical.com>

llvm-svn: 214291
lldb/tools/lldb-mi/MICmnLogMediumFile.cpp
lldb/tools/lldb-mi/MIUtilSystemLinux.cpp
lldb/tools/lldb-mi/MIUtilSystemLinux.h