mesa/include
Pierre Moreau 649704f1f7 math: Import isinf and others to global namespace
Starting from C++11, several math functions, like isinf, moved into the std
namespace. Since cmath undefines those functions before redefining them inside
the namespace, and glibc 2.23 defines the C variants as macros, the C variants
in global namespace are not accessible any longer.

v2: Move the fix outside of Nouveau, as suggested by Jose Fonseca, since anyone
    might need it when GCC switches to C++14 by default with GCC 6.0.

v3:
*   Put the code directly inside c99_math.h rather than creating a new header
    file, as asked by Jose Fonseca;
*   Guard the code behind glibc version checks, as only glibc > =2.23 defines
    isinf & co. as functions, as suggested by Jose Fonseca.

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Jose Fonseca <jfonseca@vmware.com>
2016-04-18 11:10:25 +01:00
..
CL clover: Update OpenCL headers to version 1.2 from Khronos. 2014-04-29 13:01:10 +02:00
D3D9 st/nine: specify WINAPI only for i386 and amd64 2016-04-02 23:30:40 +02:00
EGL egl: remove remnants of MESA_drm_display 2016-03-09 17:16:51 +00:00
GL dri: add backbuffer use flag 2016-03-09 15:02:25 +01:00
GLES gles: Update glext.h to revision 20798. 2013-07-29 10:34:42 -07:00
GLES2 gles2: Update gl2ext.h to revision: 32120 2015-11-30 10:46:15 +01:00
GLES3 include/GLES3: add OpenGL ES 3.1 Headers 2014-04-01 09:30:32 -07:00
HaikuGL include/haiku: fix comment typo 2014-08-28 21:41:29 -04:00
KHR egl: import platform headers from registry (v2) 2015-06-05 19:44:33 +02:00
c11 c11/threads: initialize timeout structure 2015-10-08 14:05:57 +01:00
d3dadapter st/nine: Handle Window Occlusion 2016-02-04 22:12:17 +01:00
pci_ids radeonsi: add Polaris PCI IDs 2016-03-24 23:08:12 -04:00
vulkan Update to the latest Vulkan header from Khronos 2016-03-22 16:06:53 -07:00
c99_alloca.h c99_alloca.h: Also use <alloca.h> for cygwin 2015-03-07 18:18:32 +00:00
c99_compat.h include,gallium: Remove pre-MSVC 2013 compatibility. 2016-02-11 21:36:00 +00:00
c99_math.h math: Import isinf and others to global namespace 2016-04-18 11:10:25 +01:00
no_extern_c.h include: Add helper header to help trap includes inside extern C. 2015-03-06 12:38:55 +00:00