From b6aadb8490bdacf33196fa0898fe1247b9a8ee2c Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 22 Jul 2013 14:47:25 +0200 Subject: libX11 mesa git update 22 Jul 2013 libX11 commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 mesa commit 190312949e8ce2c1dc884d4db5d6a44511666641 --- mesalib/src/gallium/auxiliary/util/u_math.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mesalib/src/gallium/auxiliary/util') diff --git a/mesalib/src/gallium/auxiliary/util/u_math.h b/mesalib/src/gallium/auxiliary/util/u_math.h index bc3948875..702d4e9d4 100644 --- a/mesalib/src/gallium/auxiliary/util/u_math.h +++ b/mesalib/src/gallium/auxiliary/util/u_math.h @@ -48,6 +48,7 @@ extern "C" { #include +#include #include #ifdef PIPE_OS_UNIX @@ -133,6 +134,9 @@ roundf(float x) return x >= 0.0f ? floorf(x + 0.5f) : ceilf(x - 0.5f); } +#define INFINITY (DBL_MAX + DBL_MAX) +#define NAN (INFINITY - INFINITY) + #endif /* _MSC_VER */ -- cgit v1.2.3