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,27 +203,31 @@
#elif defined(__PALMOS_TRAPS__) || defined (__PALMOS_ARMLET__)
#define scumm_stricmp stricmp
#define scumm_strnicmp strnicmp
#ifdef PALMOS_68K
#define SCUMM_BIG_ENDIAN
# include "globals.h"
# define SCUMM_BIG_ENDIAN
# define scumm_stricmp StrCaselessCompare
# define scumm_strnicmp StrNCaselessCompare
#else
#define SCUMM_LITTLE_ENDIAN
# include <extras_string.h>
# define SCUMM_LITTLE_ENDIAN
# define scumm_stricmp stricmp
# define scumm_strnicmp strnicmp
#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
# define NEWGUI_256
#else
#undef UNUSED
# undef UNUSED
#endif
#elif defined(__MORPHOS__)

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