mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Fix FTBFS on ppc64, s390x
This commit is contained in:
parent
7fab448cf0
commit
b8b6e958f2
|
@ -23,7 +23,9 @@
|
||||||
*/
|
*/
|
||||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
||||||
|
|
||||||
#if defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__)
|
#if defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__) || \
|
||||||
|
defined(_ARCH_PPC64) || defined(__s390x__) || \
|
||||||
|
(defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8)
|
||||||
#define XRT_64_BIT
|
#define XRT_64_BIT
|
||||||
#else
|
#else
|
||||||
#define XRT_32_BIT
|
#define XRT_32_BIT
|
||||||
|
|
Loading…
Reference in a new issue