From 5943b16badb38fd6e2470ad3c4ae7172e67e40e4 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sat, 4 Nov 2023 13:16:24 +0100 Subject: [PATCH] Silence warning --- raylib/external/jar_xm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/raylib/external/jar_xm.h b/raylib/external/jar_xm.h index 4a1bfbf..abbbe6b 100644 --- a/raylib/external/jar_xm.h +++ b/raylib/external/jar_xm.h @@ -518,6 +518,10 @@ int jar_xm_create_context(jar_xm_context_t** ctxp, const char* moddata, uint32_t return jar_xm_create_context_safe(ctxp, moddata, SIZE_MAX, rate); } +#ifdef ALIGN +#undef ALIGN +#endif + #define ALIGN(x, b) (((x) + ((b) - 1)) & ~((b) - 1)) #define ALIGN_PTR(x, b) (void*)(((uintptr_t)(x) + ((b) - 1)) & ~((b) - 1)) int jar_xm_create_context_safe(jar_xm_context_t** ctxp, const char* moddata, size_t moddata_length, uint32_t rate) {