Fix & make linux conditionals uniform (#4278)
authorRogier-5 <Rogier-5@users.noreply.github.com>
Mon, 4 Jul 2016 19:00:57 +0000 (21:00 +0200)
committerest31 <est31@users.noreply.github.com>
Mon, 4 Jul 2016 19:00:57 +0000 (21:00 +0200)
commit1dfd977ec43370da6931b11a8d0469792c8ebc36
tree81d3747e51737a4b4abf6ff243797bf9679765ea
parentf64914708092958f735337b3a14a33ca402b7893
Fix & make linux conditionals uniform (#4278)

The source used a hodge-podge of different combinations of different
macros to check for linux: 'linux', '__linux', '__linux__'.

As '__linux__' is standard (Posix), and the others are not, the source
now uniformly uses __linux__. If either linux or __linux are defined,
it is made sure that __linux__ is defined as well.
src/guiChatConsole.cpp
src/intlGUIEditBox.cpp
src/porting.cpp
src/porting.h
src/threading/thread.cpp