mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
mesa: Prevent CONST macro re-definition.
Should fix MSVC build, as windows.h also defines CONST. CONST usage in get.c is not new, so probably this just appeared now due to changes in the includes.
This commit is contained in:
parent
a555888151
commit
3f228ed090
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ union value {
|
|||
LOC_CONTEXT, type, offsetof(struct gl_context, field)
|
||||
#define ARRAY_FIELD(field, type) \
|
||||
LOC_ARRAY, type, offsetof(struct gl_array_object, field)
|
||||
#undef CONST /* already defined through windows.h */
|
||||
#define CONST(value) \
|
||||
LOC_CONTEXT, TYPE_CONST, value
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue