From 25028759c1ae779f5ec1768a066180cd8ed5c138 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 14 Jul 2007 20:30:35 +0000 Subject: (svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about wchars, so disable all code that has to use wchars for MorphOS. --- src/stdafx.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/stdafx.h') diff --git a/src/stdafx.h b/src/stdafx.h index 02a7b32bc..57db80c57 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -341,4 +341,12 @@ NORETURN CDECL error(const char *str, ...); #define NOT_REACHED() error("NOT_REACHED triggered at line %i of %s", __LINE__, __FILE__) +#if !defined(MORPHOS) +/* MorphOS doesn't know wchars, the rest does :( */ +#define HAS_WCHAR +#else +/* And MorphOS doesn't have C++ conformant _stricmp... */ +#define _stricmp stricmp +#endif /* !defined(MORHPOS) */ + #endif /* STDAFX_H */ -- cgit v1.2.3-54-g00ecf