summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enums.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-22 15:43:29 -0700
committerBrian Paul <[email protected]>2009-02-22 15:43:29 -0700
commitf2c023291a1f2887294d2aac504f8b82857ad092 (patch)
tree0853aec40ab08699d093debf08ab4553159a0cf8 /src/mesa/main/enums.c
parentd909dbcc43c5c1d51a3946488e68a7cd1fbfe920 (diff)
mesa: move a bunch of compiler-related stuff into new compiler.h header
This trims down and cleans up imports.h and glheader.h quite a bit.
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r--src/mesa/main/enums.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index a864f5a0704..ca5db92265f 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -26,6 +26,7 @@
*/
#include "glheader.h"
+#include "mfeatures.h"
#include "enums.h"
#include "imports.h"
@@ -4973,8 +4974,6 @@ static const unsigned reduced_enums[1308] =
30, /* GL_ALL_CLIENT_ATTRIB_BITS */
};
-#define Elements(x) sizeof(x)/sizeof(*x)
-
typedef int (*cfunc)(const void *, const void *);
/**