diff options
author | rubidium <rubidium@openttd.org> | 2008-11-26 13:12:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-26 13:12:45 +0000 |
commit | a614dd717420b3713f629f8eabe5607c550dedcd (patch) | |
tree | c580b06966266044ef5c0a54b557d872556e989d /src/stdafx.h | |
parent | bb25748a9dfb150b5168af8bffb961335032db6c (diff) | |
download | openttd-a614dd717420b3713f629f8eabe5607c550dedcd.tar.xz |
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 4 |
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__) */ |