mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
Currently mesa fails building with the x32 abi as ms_abi is not defined
in such a case.
The patch uses ms_abi only for amd64 targets and stdcall only for i386
targets to be sure that those are defined.
This patch additionally checks for __GNUC__ to guarantee that
__attribute__ is available.
CC: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Christian Schmidbauer <ch.schmidbauer@gmail.com>
Acked-by: Axel Davy <axel.davy@ens.fr>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| c11 | ||
| c99 | ||
| CL | ||
| D3D9 | ||
| d3dadapter | ||
| EGL | ||
| GL | ||
| GLES | ||
| GLES2 | ||
| GLES3 | ||
| HaikuGL | ||
| KHR | ||
| pci_ids | ||
| c99_alloca.h | ||
| c99_compat.h | ||
| c99_math.h | ||
| no_extern_c.h | ||