summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h8
1 files changed, 8 insertions, 0 deletions
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 */