src/stdafx.h
branchNewGRF_ports
changeset 6725 23339968083f
parent 6720 35756db7e577
child 6732 ca1b466db422
--- a/src/stdafx.h	Mon Jul 16 21:11:29 2007 +0000
+++ b/src/stdafx.h	Mon Jul 16 21:22:24 2007 +0000
@@ -341,4 +341,16 @@
 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) */
+
+#if !defined(MAX_PATH)
+# define MAX_PATH 260
+#endif
+
 #endif /* STDAFX_H */