From 1f4f18a0e8b6f2878bb27d9f46d0033f9ac8e61a Mon Sep 17 00:00:00 2001 From: ChickChicky Date: Wed, 6 Nov 2024 17:37:05 +0100 Subject: [PATCH] Fix static_assert for Windows --- randomart.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/randomart.c b/randomart.c index 48ce87a..2fb9f3b 100644 --- a/randomart.c +++ b/randomart.c @@ -10,6 +10,10 @@ #define ARENA_IMPLEMENTATION #include "arena.h" +#ifdef _WIN32 +#define static_assert _Static_assert +#endif + #define WIDTH 800 #define HEIGHT 800