diff options
author | glx <glx@openttd.org> | 2009-03-14 15:42:53 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-03-14 15:42:53 +0000 |
commit | 1692ce83122d1ed15206f160aea339761b173174 (patch) | |
tree | 2f04db4dc0c398671b25c9cccf6f5503eb3877ca /src/stdafx.h | |
parent | aea8e7291e77859cbf5cdb04aa795a510c599504 (diff) | |
download | openttd-1692ce83122d1ed15206f160aea339761b173174.tar.xz |
(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
Diffstat (limited to 'src/stdafx.h')
-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 1bb33bdd3..619fa81e7 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -247,6 +247,7 @@ #if defined(WIN32) || defined(WIN64) char *getcwd(char *buf, size_t size); #include <tchar.h> + #include <io.h> /* XXX - WinCE without MSVCRT doesn't support wfopen, so it seems */ #if !defined(WINCE) |