mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
mesa: protect Elements against multiple definitions
Mesa and gallium both have a definition of this macro
This commit is contained in:
parent
39366ed995
commit
0491142152
1 changed files with 2 additions and 2 deletions
|
|
@ -468,9 +468,9 @@ do { \
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
#ifndef Elements
|
||||
#define Elements(x) (sizeof(x)/sizeof(*(x)))
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue