diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-12-02 19:33:41 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-12-02 19:39:55 +0000 |
commit | 43121f20866bb89e8dac92bd92ec85a943704b7e (patch) | |
tree | 1354f141415ecf6dce8bff2b21632eaeb696f1d4 /src | |
parent | 43491adc44c82646652e8322acbd7f8684aae889 (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')
-rw-r--r-- | src/mapi/mapi/stub.c | 3 |
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 \ |