diff options
author | Niels Martin Hansen <nielsm@indvikleren.dk> | 2021-02-21 20:04:24 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2021-02-23 11:25:39 +0100 |
commit | beeb9e0a1b1c6ceb61499edeb8cd6cf7999d12ea (patch) | |
tree | 49a38ab01da7773138ac04d50bf4211cf9157941 /src/os/windows/win32.h | |
parent | 4bc69fec622f2f5f628b2344566994e2da005515 (diff) | |
download | openttd-beeb9e0a1b1c6ceb61499edeb8cd6cf7999d12ea.tar.xz |
Remove: [Win32] Last pretenses of being able to build for Windows 95
Diffstat (limited to 'src/os/windows/win32.h')
-rw-r--r-- | src/os/windows/win32.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h index 8cc85865f..6d980f099 100644 --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -19,19 +19,10 @@ bool LoadLibraryList(Function proc[], const char *dll); char *convert_from_fs(const TCHAR *name, char *utf8_buf, size_t buflen); TCHAR *convert_to_fs(const char *name, TCHAR *utf16_buf, size_t buflen, bool console_cp = false); -/* Function shortcuts for UTF-8 <> UNICODE conversion. When unicode is not - * defined these macros return the string passed to them, with UNICODE - * they return a pointer to the converted string. These functions use an +/* Function shortcuts for UTF-8 <> UNICODE conversion. These functions use an * internal buffer of max 512 characters. */ -#if defined(UNICODE) # define MB_TO_WIDE(str) OTTD2FS(str) # define WIDE_TO_MB(str) FS2OTTD(str) -#else -# define MB_TO_WIDE(str) (str) -# define WIDE_TO_MB(str) (str) -#endif - -HRESULT OTTDSHGetFolderPath(HWND, int, HANDLE, DWORD, LPTSTR); #if defined(__MINGW32__) && !defined(__MINGW64__) #define SHGFP_TYPE_CURRENT 0 |