equal
deleted
inserted
replaced
194 |
194 |
195 /* NOTE: the string returned by these functions is only valid until the next |
195 /* NOTE: the string returned by these functions is only valid until the next |
196 * call to the same function and is not thread- or reentrancy-safe */ |
196 * call to the same function and is not thread- or reentrancy-safe */ |
197 #if !defined(STRGEN) |
197 #if !defined(STRGEN) |
198 # if defined(WIN32) || defined(WIN64) |
198 # if defined(WIN32) || defined(WIN64) |
|
199 char *getcwd(char *buf, size_t size); |
199 # include <tchar.h> |
200 # include <tchar.h> |
200 /* XXX - WinCE without MSVCRT doesn't support wfopen, so it seems */ |
201 /* XXX - WinCE without MSVCRT doesn't support wfopen, so it seems */ |
201 # if !defined(WINCE) |
202 # if !defined(WINCE) |
202 # define fopen(file, mode) _tfopen(OTTD2FS(file), _T(mode)) |
203 # define fopen(file, mode) _tfopen(OTTD2FS(file), _T(mode)) |
203 # endif /* WINCE */ |
204 # endif /* WINCE */ |