summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-11-26 13:12:45 +0000
committerrubidium <rubidium@openttd.org>2008-11-26 13:12:45 +0000
commit5dd4735da1b08170c36c004d439e6484f7cd2715 (patch)
treec580b06966266044ef5c0a54b557d872556e989d /src/stdafx.h
parentb0a9ce2d9a71e5d53e78ccaac3fae5bf79f76a91 (diff)
downloadopenttd-5dd4735da1b08170c36c004d439e6484f7cd2715.tar.xz
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index a0d715ed3..6fdc4fd37 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -353,7 +353,7 @@ void NORETURN CDECL usererror(const char *str, ...);
void NORETURN CDECL error(const char *str, ...);
#define NOT_REACHED() error("NOT_REACHED triggered at line %i of %s", __LINE__, __FILE__)
-#if defined(MORPHOS) || defined(__NDS__)
+#if defined(MORPHOS) || defined(__NDS__) || defined(__DJGPP__)
/* MorphOS and NDS don't have C++ conformant _stricmp... */
#define _stricmp stricmp
#elif defined(OPENBSD)
@@ -361,7 +361,7 @@ void NORETURN CDECL error(const char *str, ...);
#define _stricmp strcasecmp
#endif
-#if !defined(MORPHOS) && !defined(OPENBSD) && !defined(__NDS__)
+#if !defined(MORPHOS) && !defined(OPENBSD) && !defined(__NDS__) && !defined(__DJGPP__)
/* NDS, MorphOS & OpenBSD don't know wchars, the rest does :( */
#define HAS_WCHAR
#endif /* !defined(MORPHOS) && !defined(OPENBSD) && !defined(__NDS__) */