diff options
Diffstat (limited to 'lib/mesa/src')
-rw-r--r-- | lib/mesa/src/util/u_cpu_detect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mesa/src/util/u_cpu_detect.c b/lib/mesa/src/util/u_cpu_detect.c index c0dd97ba9..0d5f52e68 100644 --- a/lib/mesa/src/util/u_cpu_detect.c +++ b/lib/mesa/src/util/u_cpu_detect.c @@ -441,6 +441,7 @@ check_os_arm_support(void) static void check_os_mips64_support(void) { +#if defined(PIPE_OS_LINUX) Elf64_auxv_t aux; int fd; @@ -456,6 +457,7 @@ check_os_mips64_support(void) } close (fd); } +#endif /* PIPE_OS_LINUX */ } #endif /* PIPE_ARCH_MIPS64 */ |