src/stdafx.h
changeset 6834 7a64c73d5f45
parent 6634 33e42f1ee228
child 6929 56470c1b8a66
equal deleted inserted replaced
6833:fe44d16dc50e 6834:7a64c73d5f45
   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 */