forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user