vc4: Reuse the util header instead of defining our own ARRAY_SIZE.
Fixes redefinition warnings if you end up including this header before util stuff.
This commit is contained in:
parent
418da97905
commit
50292d76c5
|
@ -25,8 +25,7 @@
|
|||
#define VC4_QPU_DEFINES_H
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
#include <util/macros.h>
|
||||
|
||||
enum qpu_op_add {
|
||||
QPU_A_NOP,
|
||||
|
|
Loading…
Reference in New Issue