projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43491ad
)
mapi: Hack to avoid vgCreateFont being generated as vgCreateFontA.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 19:33:41 +0000
(19:33 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 19:39:55 +0000
(19:39 +0000)
Right fix is probably stop C-preprocessor abuse and stick 100% with
scripted code generation.
src/mapi/mapi/stub.c
patch
|
blob
|
history
diff --git
a/src/mapi/mapi/stub.c
b/src/mapi/mapi/stub.c
index
8ceaec3
..
53d800f
100644
(file)
--- 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 \