util: Add DETECT_ARCH_HPPA macro

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26991>
(cherry picked from commit 0540c9de44)
This commit is contained in:
Matt Turner 2024-01-10 17:31:08 -05:00 committed by Eric Engestrom
parent 0c942965e2
commit c24841d1e2
2 changed files with 9 additions and 1 deletions

View file

@ -514,7 +514,7 @@
"description": "util: Add DETECT_ARCH_HPPA macro",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -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_ */