From c51eb012915ad79cfa523138bcb3e36a909ecae9 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Thu, 20 Dec 2012 20:15:10 +1030 Subject: [PATCH] light: remove workaround for old compiler bug Signed-off-by: Kevin Shanahan --- light/ltface.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/light/ltface.c b/light/ltface.c index 04d759da..1b6ec9e2 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -84,13 +84,8 @@ LU_Decompose(vec3_t mtx[3], int r[3], int c[2]) return true; } -#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 -#define CONST_BUG -#else -#define CONST_BUG const -#endif static void -solve3(CONST_BUG vec3_t mtx[3], const int r[3], const int c[3], +solve3(const vec3_t mtx[3], const int r[3], const int c[3], const vec3_t rhs, vec3_t soln) { vec3_t y;