From: José Fonseca Date: Thu, 2 Dec 2010 19:33:41 +0000 (+0000) Subject: mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43121f20866bb89e8dac92bd92ec85a943704b7e;p=mesa.git mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA. Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation. --- 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 \