summaryrefslogtreecommitdiff
path: root/src/os/windows/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/windows/win32.h')
-rw-r--r--src/os/windows/win32.h11
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