Avoid fighting with Solaris headers over isnormal()
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Mon, 16 Feb 2015 00:16:15 +0000 (16:16 -0800)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Wed, 18 Feb 2015 02:16:33 +0000 (18:16 -0800)
commitd602fbd861e2c3c5570b55f0839361a6f8bd32c7
tree00722dcbc5a792670e90183bb554b61d03514715
parent815b3bd096a3eab9f00f9270d45a6885d73180e9
Avoid fighting with Solaris headers over isnormal()

When compiling in C99 or C++11 modes, Solaris defines isnormal() as
a macro via <math.h>, which causes the function definition to become
too mangled to compile.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/ir_constant_expression.cpp