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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user