diff options
author | glx <glx@openttd.org> | 2010-05-11 20:44:58 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2010-05-11 20:44:58 +0000 |
commit | 26bf9a13deea2da71142a6259ede951e08e75d01 (patch) | |
tree | 9cefd74dbc815b9b5c3ef5c795e712ff2ed4c2ca | |
parent | 1c3c7da1f20689023530343424897d3588f35f79 (diff) | |
download | openttd-26bf9a13deea2da71142a6259ede951e08e75d01.tar.xz |
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
-rw-r--r-- | src/stdafx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index dcd0d4a6a..b96162266 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -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 */ |