diff options
author | Marcus Comstedt | 2003-12-21 15:53:38 +0000 |
---|---|---|
committer | Marcus Comstedt | 2003-12-21 15:53:38 +0000 |
commit | 4fa0d93dfb7dec8c63ab50a86ae8ae5dbc6af9d9 (patch) | |
tree | 499ca4357c5b22d22e01a033567f02525bcdd93e | |
parent | e439eb51290082f204c10feaea2d5a72e3747879 (diff) | |
download | scummvm-rg350-4fa0d93dfb7dec8c63ab50a86ae8ae5dbc6af9d9.tar.gz scummvm-rg350-4fa0d93dfb7dec8c63ab50a86ae8ae5dbc6af9d9.tar.bz2 scummvm-rg350-4fa0d93dfb7dec8c63ab50a86ae8ae5dbc6af9d9.zip |
Use of stat() is not portable...
svn-id: r11813
-rw-r--r-- | simon/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |