aboutsummaryrefslogtreecommitdiff
path: root/simon/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/debug.cpp')
-rw-r--r--simon/debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp
index bdebea7e9d..749a83d7b0 100644
--- a/simon/debug.cpp
+++ b/simon/debug.cpp
@@ -356,7 +356,7 @@ static void dump_bitmap(const char *filename, const byte *offs, int w, int h, in
void SimonEngine::dump_single_bitmap(int file, int image, const byte *offs, int w, int h, byte base) {
char buf[40];
-#if !defined(__PALM_OS__) && !defined(__DC__) && !defined(__PSP__)
+#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__)
struct stat statbuf;
#endif
@@ -366,7 +366,7 @@ void SimonEngine::dump_single_bitmap(int file, int image, const byte *offs, int
sprintf(buf, "dumps/File%d_Image%d.bmp", file, image);
#endif
-#if !defined(__PALM_OS__) && !defined(__DC__) && !defined(__PSP__)
+#if !defined(PALMOS_MODE) && !defined(__DC__) && !defined(__PSP__)
if (stat(buf, &statbuf) == 0)
return;
#endif