mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 21:06:58 +00:00
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
This commit is contained in:
parent
1c3c7da1f2
commit
26bf9a13de
@ -251,6 +251,7 @@
|
||||
|
||||
/* XXX - WinCE without MSVCRT doesn't support wfopen, so it seems */
|
||||
#if !defined(WINCE)
|
||||
namespace std { using ::_tfopen; }
|
||||
#define fopen(file, mode) _tfopen(OTTD2FS(file), _T(mode))
|
||||
#define unlink(file) _tunlink(OTTD2FS(file))
|
||||
#endif /* WINCE */
|
||||
|
Loading…
Reference in New Issue
Block a user