mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA.

Right fix is probably stop C-preprocessor abuse and stick 100% with
scripted code generation.
This commit is contained in:
José Fonseca
2010-12-02 19:33:41 +00:00
parent 43491adc44
commit 43121f2086
+3
View File
@@ -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 \