light: remove workaround for old compiler bug

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-12-20 20:15:10 +10:30
parent 6fab0a5358
commit c51eb01291
1 changed files with 1 additions and 6 deletions

View File

@ -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;