Skip to content

Commit

Permalink
Fix Unix platform macro.
Browse files Browse the repository at this point in the history
At some point Dreamy Utilities macro for checking the Unix platform changed from a generic "_PLATFORM_UNIX" to a more local "_DREAMY_UNIX".
  • Loading branch information
DreamyCecil committed Nov 29, 2022
1 parent 2227676 commit 0ab8319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

// Argument descriptions
const char *_astrArgDesc[] = {
#if _PLATFORM_UNIX
#if _DREAMY_UNIX
ARG_ROOT " : Root directory of some classic Serious Sam game (e.g. \"-r /usr/games/SeriousSam/\")",
#else
ARG_ROOT " : Root directory of some classic Serious Sam game (e.g. \"-r C:/SeriousSam/\")",
Expand Down
2 changes: 1 addition & 1 deletion Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ static bool DisplayFailedFiles(const Strings_t &astr, const Str_t &strError) {
// Pause command line execution
static void Pause(void) {
if (_bPauseAtTheEnd) {
#if !_PLATFORM_UNIX
#if !_DREAMY_UNIX
system("pause");
#endif
}
Expand Down

0 comments on commit 0ab8319

Please # to comment.