changeset 15158:b4516bc34b30 draft

(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
author glx <glx@openttd.org>
date Tue, 11 May 2010 20:44:58 +0000
parents 9aa7ff1c9eea
children 5930e0240c61
files src/stdafx.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */