aboutsummaryrefslogtreecommitdiff
path: root/src/gb
diff options
context:
space:
mode:
authoravanspector <avanspector@gmail.com>2024-01-13 19:27:42 +0100
committeravanspector <avanspector@gmail.com>2024-01-13 19:27:42 +0100
commit70c150fc83666281df372b83209c33863bde73e9 (patch)
treefd839d47b98be3b93ae4a8be12b3f9d9a62e091e /src/gb
parent2411febf838bc24935a1fd5c99c84916e3c45805 (diff)
Fix gcc build
Although gcc is not officially supported, this little fix lets it to build Odin
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gb.h2
1 files changed, 1 insertions, 1 deletions
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