From 26bf9a13deea2da71142a6259ede951e08e75d01 Mon Sep 17 00:00:00 2001 From: glx Date: Tue, 11 May 2010 20:44:58 +0000 Subject: (svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE --- src/stdafx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stdafx.h') 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 */ -- cgit v1.2.3-54-g00ecf