diff options
| author | Yonggang Luo <luoyonggang@gmail.com> | 2022-11-11 18:59:21 +0800 |
|---|---|---|
| committer | Marge Bot <emma+marge@anholt.net> | 2022-11-15 20:35:55 +0000 |
| commit | 80fac8637b9d8e1b7ec3c63e46e435f600e93c29 (patch) | |
| tree | f98e50e31fc16ce595a17cb85956be164fe05eac /src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | |
| parent | 4304177675ae7717919ed8accc45397db44eb10d (diff) | |
tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC)_* by use grep
From:
defined[\s]*\([\s]*PIPE_(OS|ARCH|CC)_([0-9A-Z_]+)[\s]*\)
To:
DETECT_$1_$2
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19674>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.cpp')
| -rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index dda4c7d4273..54bc5d5ada3 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -160,7 +160,7 @@ disassemble(const void* func, std::ostream &buffer) * XXX: This currently assumes x86 */ -#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) +#if DETECT_ARCH_X86 || DETECT_ARCH_X86_64 if (Size == 1 && bytes[pc] == 0xc3) { break; } |