Mesa (master): mesa: remove now unused CONST macro
Brian Paul
brianp at kemper.freedesktop.org
Thu Sep 6 03:31:10 UTC 2012
Module: Mesa
Branch: master
Commit: 97992b05fb1b484ac94958f7cf7546f35208b0c8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97992b05fb1b484ac94958f7cf7546f35208b0c8
Author: Brian Paul <brianp at vmware.com>
Date: Wed Sep 5 20:26:28 2012 -0600
mesa: remove now unused CONST macro
Reviewed-by: Matt Turner <mattst88 at gmail.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__)
More information about the mesa-commit
mailing list