From 70c150fc83666281df372b83209c33863bde73e9 Mon Sep 17 00:00:00 2001 From: avanspector Date: Sat, 13 Jan 2024 19:27:42 +0100 Subject: [PATCH] Fix gcc build Although gcc is not officially supported, this little fix lets it to build Odin --- src/gb/gb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gb/gb.h b/src/gb/gb.h index 5dae7a5c4..93d250f21 100644 --- a/src/gb/gb.h +++ b/src/gb/gb.h @@ -448,7 +448,7 @@ typedef i32 b32; // NOTE(bill): Prefer this!!! #define gb_inline __forceinline #endif #else - #define gb_inline __attribute__ ((__always_inline__)) + #define gb_inline inline __attribute__ ((__always_inline__)) #endif #endif