From 43121f20866bb89e8dac92bd92ec85a943704b7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 2 Dec 2010 19:33:41 +0000 Subject: [PATCH] mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA. Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation. --- src/mapi/mapi/stub.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mapi/mapi/stub.c b/src/mapi/mapi/stub.c index 8ceaec3132b..53d800f3c2a 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 \ -- 2.30.2