Cleanup, remove PalmOS dependencies from the ScummVM core

svn-id: r26690
This commit is contained in:
Chris Apers 2007-05-01 09:37:40 +00:00
parent eac31d6f56
commit e0a77867cc
2 changed files with 17 additions and 12 deletions

View file

@ -203,23 +203,27 @@
#elif defined(__PALMOS_TRAPS__) || defined (__PALMOS_ARMLET__)
#ifdef PALMOS_68K
# include "globals.h"
# define SCUMM_BIG_ENDIAN
# define scumm_stricmp StrCaselessCompare
# define scumm_strnicmp StrNCaselessCompare
#else
# include <extras_string.h>
# define SCUMM_LITTLE_ENDIAN
# define scumm_stricmp stricmp
# define scumm_strnicmp strnicmp
#ifdef PALMOS_68K
#define SCUMM_BIG_ENDIAN
#else
#define SCUMM_LITTLE_ENDIAN
#endif
#define SCUMM_NEED_ALIGNMENT
#include "palmversion.h"
#include "globals.h"
#include "extend.h"
#define STRINGBUFLEN 256
extern const char *SCUMMVM_SAVEPATH;
#if !defined(COMPILE_ZODIAC) && !defined(COMPILE_OS5)
# define NEWGUI_256
#else

View file

@ -551,6 +551,7 @@ void NORETURN CDECL error(const char *s, ...) {
#endif
#ifdef PALMOS_MODE
extern void PalmFatalError(const char *err);
PalmFatalError(buf_output);
#endif