From c6c22db6ae8302416d80ae0d3e19549f047e23b3 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sat, 3 Sep 2005 16:12:52 +0000 Subject: Change PalmOS ident svn-id: r18746 --- common/file.cpp | 2 +- common/savefile.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'common') 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 } -- cgit v1.2.3