From a91aecc03fc97f821c9b6fbfb8a4079d0131cc5c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 7 Oct 2024 11:03:34 -0400 Subject: [PATCH] asahi: guard some apple code Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/asahi/lib/decode.c b/src/asahi/lib/decode.c index 76941e12cea..d98ee6e5dfb 100644 --- a/src/asahi/lib/decode.c +++ b/src/asahi/lib/decode.c @@ -739,6 +739,7 @@ agxdecode_vdm(struct agxdecode_ctx *ctx, const uint8_t *map, uint64_t *link, } } +#if __APPLE__ static void agxdecode_cs(struct agxdecode_ctx *ctx, uint32_t *cmdbuf, uint64_t encoder, bool verbose, decoder_params *params) @@ -794,6 +795,7 @@ agxdecode_gfx(struct agxdecode_ctx *ctx, uint32_t *cmdbuf, uint64_t encoder, params, NULL); } } +#endif static void agxdecode_sampler_heap(struct agxdecode_ctx *ctx, uint64_t heap, unsigned count)