From 4fa0d93dfb7dec8c63ab50a86ae8ae5dbc6af9d9 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sun, 21 Dec 2003 15:53:38 +0000 Subject: Use of stat() is not portable... svn-id: r11813 --- simon/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'simon') diff --git a/simon/debug.cpp b/simon/debug.cpp index d2c111291e..7166bb91ff 100644 --- a/simon/debug.cpp +++ b/simon/debug.cpp @@ -353,7 +353,7 @@ void dump_bitmap(const char *filename, byte *offs, int w, int h, int flags, cons void SimonEngine::dump_single_bitmap(int file, int image, byte *offs, int w, int h, byte base) { char buf[40]; -#ifndef __PALM_OS__ +#if !defined(__PALM_OS__) && !defined(__DC__) struct stat statbuf; #endif @@ -363,7 +363,7 @@ void SimonEngine::dump_single_bitmap(int file, int image, byte *offs, int w, int sprintf(buf, "dumps/File%d_Image%d.bmp", file, image); #endif -#ifndef __PALM_OS__ +#if !defined(__PALM_OS__) && !defined(__DC__) if (stat(buf, &statbuf) == 0) return; #endif -- cgit v1.2.3