aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2005-09-03 16:05:28 +0000
committerChris Apers2005-09-03 16:05:28 +0000
commitf7fb3bf7a8cb0dd5c4c892d1c911e3a1fe9996fa (patch)
tree3cdfad3228199a17213f3eeab5fb3423eb3e0f52
parente0e93168c38787a1aefc3d1f3e9bc49f07147e8e (diff)
downloadscummvm-rg350-f7fb3bf7a8cb0dd5c4c892d1c911e3a1fe9996fa.tar.gz
scummvm-rg350-f7fb3bf7a8cb0dd5c4c892d1c911e3a1fe9996fa.tar.bz2
scummvm-rg350-f7fb3bf7a8cb0dd5c4c892d1c911e3a1fe9996fa.zip
Change PalmOS ident
svn-id: r18743
-rw-r--r--base/engine.cpp2
-rw-r--r--base/gameDetector.cpp4
-rw-r--r--base/main.cpp5
3 files changed, 5 insertions, 6 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index a2c722ae6f..b6aa9cc957 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -177,7 +177,7 @@ void NORETURN CDECL error(const char *s, ...) {
drawError(buf_output);
#endif
-#ifdef __PALM_OS__
+#ifdef PALMOS_MODE
PalmFatalError(buf_output);
#endif
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 57e99bad80..53ef204282 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -48,7 +48,7 @@
#endif
// DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :)
-#if defined(__PALM_OS__) || defined(__SYMBIAN32__)
+#if defined(PALMOS_MODE) || defined(__SYMBIAN32__)
static const char USAGE_STRING[] = "NoUsageString"; // save more data segment space
#else
static const char USAGE_STRING[] =
@@ -340,7 +340,7 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
// environment variable. This is weaker than a --savepath on the
// command line, but overrides the default savepath, hence it is
// handled here, just before the command line gets parsed.
-#if !defined(MACOS_CARBON) && !defined(_WIN32_WCE) && !defined(__PALM_OS__)
+#if !defined(MACOS_CARBON) && !defined(_WIN32_WCE) && !defined(PALMOS_MODE)
const char *dir = getenv("SCUMMVM_SAVEPATH");
if (dir && *dir) {
// TODO: Verify whether the path is valid
diff --git a/base/main.cpp b/base/main.cpp
index f3d04a325c..562bd3e229 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -50,7 +50,7 @@
#include "backends/dc/DCLauncherDialog.h"
#endif
-#ifdef __PALM_OS__
+#ifdef PALMOS_68K
#include "args.h"
#endif
@@ -372,7 +372,6 @@ extern "C" int main(int argc, char *argv[]) {
#endif // (defined(WIN32) && defined(NO_CONSOLE)) || defined(__SYMBIAN32__)
-
// Quick preparse of command-line, looking for alt configfile path
for (int i = argc - 1; i >= 1; i--) {
s = argv[i];
@@ -421,7 +420,7 @@ extern "C" int main(int argc, char *argv[]) {
detector.parseCommandLine(argc, argv);
-#ifdef __PALM_OS__
+#ifdef PALMOS_68K
ArgsFree(argv);
#endif