summaryrefslogtreecommitdiff
path: root/win32.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-03 19:03:38 +0000
committerDarkvater <darkvater@openttd.org>2006-12-03 19:03:38 +0000
commit1dd14cb9320c7c6ad78a74dc9983aefc2adc5987 (patch)
treecc6ba540b8a50fa8d75f1296ed16d84f3668e048 /win32.h
parent024ebaa3fe6d1917da0feabb7000a0660039847f (diff)
downloadopenttd-1dd14cb9320c7c6ad78a74dc9983aefc2adc5987.tar.xz
(svn r7337) -Feature: [win32] Add font selection by specifying a font-name, ala Fontconfig. Pretty
messy if you ask me, but this is what you get when MS hides the font API in the deepest depths... thanks Rubidium for testing.
Diffstat (limited to 'win32.h')
-rw-r--r--win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32.h b/win32.h
index ceff0ec26..75618a95e 100644
--- a/win32.h
+++ b/win32.h
@@ -23,4 +23,8 @@ wchar_t *convert_to_fs(const char *name, wchar_t *utf16_buf, size_t buflen);
# define WIDE_TO_MB_BUFFER(str, buffer, buflen) (str)
#endif
+#if defined(__MINGW32__)
+#define SHGFP_TYPE_CURRENT 0
+#endif /* __MINGW32__ */
+
#endif /* WIN32_H */