- Use a more conformant C++ preprocessor macro identifier for Unix systems.
The 'unix' identifier isn't defined when '-std' is passed to the compiler (tested with gcc and clang), so use '__unix__' which is well enough documented.
This commit is contained in:
parent
81334809c4
commit
4ce0574b3f
14 changed files with 23 additions and 23 deletions
|
|
@ -345,7 +345,7 @@ void DLoadSaveMenu::NotifyNewSave (const char *file, const char *title, bool okF
|
|||
for (unsigned i=0; i<SaveGames.Size(); i++)
|
||||
{
|
||||
FSaveGameNode *node = SaveGames[i];
|
||||
#ifdef unix
|
||||
#ifdef __unix__
|
||||
if (node->Filename.Compare (file) == 0)
|
||||
#else
|
||||
if (node->Filename.CompareNoCase (file) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue