mesa: protect Elements against multiple definitions

Mesa and gallium both have a definition of this macro
This commit is contained in:
Keith Whitwell
2009-06-11 10:52:37 +01:00
parent 39366ed995
commit 0491142152

View File

@@ -468,9 +468,9 @@ do { \
#endif
#ifndef Elements
#define Elements(x) (sizeof(x)/sizeof(*(x)))
#endif