summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-02-24 13:47:58 +0000
committerEric Anholt <[email protected]>2015-02-24 13:49:12 +0000
commit1d1e820a6dce5e6fc8f67bd0f00e402645774e1b (patch)
tree09ce21c0bbee57576ac234749116fc089e7dc5ae /src/gallium/drivers/r600/sb
parent98ae01c82294882b1fddcd03adf24101b4f24d4f (diff)
r600: Fix build after 984f3069370cd4a347cb38269d430b428385affd
Same as for the CLAMP macro, undef it before including a header file that tries to make fields with that name.
Diffstat (limited to 'src/gallium/drivers/r600/sb')
-rw-r--r--src/gallium/drivers/r600/sb/sb_bc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_bc.h b/src/gallium/drivers/r600/sb/sb_bc.h
index 6d3dc4da2f6..072d8f8b4e0 100644
--- a/src/gallium/drivers/r600/sb/sb_bc.h
+++ b/src/gallium/drivers/r600/sb/sb_bc.h
@@ -784,7 +784,7 @@ public: \
// CLAMP macro defined elsewhere interferes with bytecode field name
#undef CLAMP
-
+#undef ARRAY_SIZE
#include "sb_bc_fmt_def.inc"
#undef BC_FORMAT_BEGIN