summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ir.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 06198e4f3f6..80e0f67d6d8 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -37,10 +37,6 @@ extern "C" {
#include "ir_visitor.h"
#include "ir_hierarchical_visitor.h"
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
-#endif
-
/**
* \defgroup IR Intermediate representation nodes
*