summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mapi/mapi/stub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapi/mapi/stub.c b/src/mapi/mapi/stub.c
index 8ceaec3132..53d800f3c2 100644
--- a/src/mapi/mapi/stub.c
+++ b/src/mapi/mapi/stub.c
@@ -37,6 +37,9 @@
#include "stub.h"
#include "table.h"
+/* XXX: Hack to avoid vgCreateFont being generated as vgCreateFontA */
+#undef CreateFont
+
#define MAPI_TABLE_FIRST_DYNAMIC \
(offsetof(struct mapi_table, dynamic0) / sizeof(mapi_func))
#define MAPI_TABLE_NUM_DYNAMIC \