summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-12-02 19:33:41 +0000
committerJosé Fonseca <[email protected]>2010-12-02 19:39:55 +0000
commit43121f20866bb89e8dac92bd92ec85a943704b7e (patch)
tree1354f141415ecf6dce8bff2b21632eaeb696f1d4 /src/mapi
parent43491adc44c82646652e8322acbd7f8684aae889 (diff)
mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA.
Right fix is probably stop C-preprocessor abuse and stick 100% with scripted code generation.
Diffstat (limited to 'src/mapi')
-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 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 \