summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/compiler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index a0ef75a24fd..7f2d732ae8c 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -175,9 +175,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
#define IEEE_ONE 0x3f800000
-#ifndef Elements
-#define Elements(x) (sizeof(x)/sizeof(*(x)))
-#endif
#ifdef __cplusplus
}