mesa/include
Alan Coopersmith 9eaa6998cc c99_compat.h: Don't try to use 'restrict' in C++ code
Fixes build failures on Solaris in C++ files using gcc:

../src/util/u_math.h:628:41: error: expected ‘,’ or ‘...’ before ‘dest’
  628 | util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t n)
      |                                         ^~~~
../src/util/u_math.h: In function ‘void* util_memcpy_cpu_to_le32(void*)’:
../src/util/u_math.h:641:18: error: ‘dest’ was not declared in this scope
  641 |    return memcpy(dest, src, n);
      |                  ^~~~
../src/util/u_math.h:641:24: error: ‘src’ was not declared in this scope
  641 |    return memcpy(dest, src, n);
      |                        ^~~
../src/util/u_math.h:641:29: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
  641 |    return memcpy(dest, src, n);
      |                             ^
      |                             yn

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit ddde652e70)
2019-10-16 14:46:47 +00:00
..
c11 Require Visual Studio 2015. 2018-09-10 10:10:16 +01:00
CL include/CL: Update to the latest OpenCL 2.2 headers 2019-02-26 21:02:07 +01:00
D3D9 st/nine: Change a few advertised caps 2019-03-09 13:57:49 +01:00
d3dadapter st/nine: skip position checks in SetCursorPosition() 2019-04-20 13:06:29 +02:00
drm-uapi drm-uapi: add lima_drm.h 2019-04-11 09:57:53 +08:00
EGL egl: update headers from Khronos 2019-01-24 14:37:44 +00:00
GL st/dri: allow direct UYVY import 2019-03-11 22:19:11 +01:00
GLES gles: Restore some lost typedefs 2017-08-01 18:26:15 +01:00
GLES2 include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
GLES3 include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
HaikuGL include/haiku: fix comment typo 2014-08-28 21:41:29 -04:00
KHR egl: Update headers from Khronos 2017-08-11 11:16:00 +01:00
pci_ids intel: use proper label for Comet Lake skus 2019-10-02 09:41:27 -04:00
vulkan vulkan: Update the XML and headers to 1.1.106 2019-04-15 13:25:43 +00:00
c99_alloca.h c99_alloca.h: Also use <alloca.h> for cygwin 2015-03-07 18:18:32 +00:00
c99_compat.h c99_compat.h: Don't try to use 'restrict' in C++ code 2019-10-16 14:46:47 +00:00
c99_math.h math: Import isinf and others to global namespace 2016-04-18 11:10:25 +01:00
meson.build glx/meson: use full include path for dri_interface.h 2019-03-08 18:00:19 +00:00
no_extern_c.h include: Add helper header to help trap includes inside extern C. 2015-03-06 12:38:55 +00:00