From 56aff6bb4eafe35ba301f5d60027377abc4cfd9f Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 1 Dec 2015 23:07:08 +0000 Subject: Remove Sun CC specific code. Reviewed-by: Matt Turner Acked-by: Alan Coopersmith --- src/glsl/ir_constant_expression.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/glsl/ir_constant_expression.cpp') diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp index 67ed3605a8c..ef705851613 100644 --- a/src/glsl/ir_constant_expression.cpp +++ b/src/glsl/ir_constant_expression.cpp @@ -41,14 +41,6 @@ #include "glsl_types.h" #include "program/hash_table.h" -#if defined(__SUNPRO_CC) && !defined(isnormal) -#include -static int isnormal(double x) -{ - return fpclass(x) == FP_NORMAL; -} -#endif - static float dot_f(ir_constant *op0, ir_constant *op1) { -- cgit v1.2.3