[Mesa-dev] [PATCH 3/4] mesa: remove now unused CONST macro

Brian Paul brian.e.paul at gmail.com
Wed Sep 5 19:27:40 PDT 2012


From: Brian Paul <brianp at vmware.com>

---
 src/mesa/main/compiler.h |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 94484d8..32efe84 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -161,17 +161,6 @@ extern "C" {
 
 
 /**
- * Some compilers don't like some of Mesa's const usage.  In those places use
- * CONST instead of const.  Pass -DNO_CONST to compilers where this matters.
- */
-#ifdef NO_CONST
-#  define CONST
-#else
-#  define CONST const
-#endif
-
-
-/**
  * __builtin_expect macros
  */
 #if !defined(__GNUC__)
-- 
1.7.4.1



More information about the mesa-dev mailing list