diff mbox series

disas: Fix build against Capstone v6 (again)

Message ID 20241022013047.830273-1-richard.henderson@linaro.org (mailing list archive)
State New
Headers show
Series disas: Fix build against Capstone v6 (again) | expand

Commit Message

Richard Henderson Oct. 22, 2024, 1:30 a.m. UTC
Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
against capstone v6-alpha.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 include/disas/capstone.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Gustavo Romero Nov. 2, 2024, 5:46 p.m. UTC | #1
Hi Richard,

Sorry, I've missed that one and just found it when doing a
check before the soft freeze :)

On 10/21/24 22:30, Richard Henderson wrote:
> Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
> also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
> against capstone v6-alpha.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   include/disas/capstone.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/disas/capstone.h b/include/disas/capstone.h
> index a11985151d..c43033f7f6 100644
> --- a/include/disas/capstone.h
> +++ b/include/disas/capstone.h
> @@ -4,6 +4,7 @@
>   #ifdef CONFIG_CAPSTONE
>   
>   #define CAPSTONE_AARCH64_COMPAT_HEADER
> +#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
>   #include <capstone.h>
>   
>   #else


Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>

@Peter, would you mind adding this to your queue?


Cheers,
Gustavo
Peter Maydell Nov. 4, 2024, 1:40 p.m. UTC | #2
On Sat, 2 Nov 2024 at 17:46, Gustavo Romero <gustavo.romero@linaro.org> wrote:
>
> Hi Richard,
>
> Sorry, I've missed that one and just found it when doing a
> check before the soft freeze :)
>
> On 10/21/24 22:30, Richard Henderson wrote:
> > Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
> > also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
> > against capstone v6-alpha.
> >
> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> > ---
> >   include/disas/capstone.h | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/include/disas/capstone.h b/include/disas/capstone.h
> > index a11985151d..c43033f7f6 100644
> > --- a/include/disas/capstone.h
> > +++ b/include/disas/capstone.h
> > @@ -4,6 +4,7 @@
> >   #ifdef CONFIG_CAPSTONE
> >
> >   #define CAPSTONE_AARCH64_COMPAT_HEADER
> > +#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
> >   #include <capstone.h>
> >
> >   #else
>
>
> Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
>
> @Peter, would you mind adding this to your queue?

Sure; applied to target-arm.next, thanks.

-- PMM
diff mbox series

Patch

diff --git a/include/disas/capstone.h b/include/disas/capstone.h
index a11985151d..c43033f7f6 100644
--- a/include/disas/capstone.h
+++ b/include/disas/capstone.h
@@ -4,6 +4,7 @@ 
 #ifdef CONFIG_CAPSTONE
 
 #define CAPSTONE_AARCH64_COMPAT_HEADER
+#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
 #include <capstone.h>
 
 #else