diff options
-rw-r--r-- | common/file.cpp | 2 | ||||
-rw-r--r-- | common/savefile.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/file.cpp b/common/file.cpp index 7128796623..9f69324ad7 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -35,7 +35,7 @@ static FILE *fopenNoCase(const char *filename, const char *directory, const char assert(directory); strcpy(buf, directory); -#if !defined(__GP32__) && !defined(__PALM_OS__) +#if !defined(__GP32__) && !defined(PALMOS_MODE) // Add a trailing slash, if necessary. if (buf[0] != 0) { const int dirLen = strlen(buf); diff --git a/common/savefile.cpp b/common/savefile.cpp index b3f888dfe7..193748d25d 100644 --- a/common/savefile.cpp +++ b/common/savefile.cpp @@ -35,7 +35,7 @@ namespace Common { const char *SaveFileManager::getSavePath() const { -#if defined(__PALM_OS__) || defined(__PSP__) +#if defined(PALMOS_MODE) || defined(__PSP__) return SCUMMVM_SAVEPATH; #else @@ -161,7 +161,7 @@ static void join_paths(const char *filename, const char *directory, if (buf[dirLen-1] != ':' && buf[dirLen-1] != '/') #endif -#if !defined(__GP32__) && !defined(__PALM_OS__) +#if !defined(__GP32__) && !defined(PALMOS_MODE) strncat(buf, "/", bufsize-1); // prevent double / #endif } |