Module: Mesa Branch: main Commit: 0540c9de447730e5efe73a0c5a1a5b6c1e902722 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0540c9de447730e5efe73a0c5a1a5b6c1e902722
Author: Matt Turner <[email protected]> Date: Wed Jan 10 17:31:08 2024 -0500 util: Add DETECT_ARCH_HPPA macro Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26991> --- src/util/detect_arch.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/util/detect_arch.h b/src/util/detect_arch.h index 334358fcc26..b3f7f90ac96 100644 --- a/src/util/detect_arch.h +++ b/src/util/detect_arch.h @@ -97,6 +97,10 @@ #define DETECT_ARCH_MIPS 1 #endif +#if defined(__hppa__) +#define DETECT_ARCH_HPPA 1 +#endif + #ifndef DETECT_ARCH_X86 #define DETECT_ARCH_X86 0 #endif @@ -137,4 +141,8 @@ #define DETECT_ARCH_MIPS 0 #endif +#ifndef DETECT_ARCH_HPPA +#define DETECT_ARCH_HPPA 0 +#endif + #endif /* UTIL_DETECT_ARCH_H_ */
