diff options
| author | avanspector <avanspector@gmail.com> | 2024-01-13 19:27:42 +0100 |
|---|---|---|
| committer | avanspector <avanspector@gmail.com> | 2024-01-13 19:27:42 +0100 |
| commit | 70c150fc83666281df372b83209c33863bde73e9 (patch) | |
| tree | fd839d47b98be3b93ae4a8be12b3f9d9a62e091e /src/gb | |
| parent | 2411febf838bc24935a1fd5c99c84916e3c45805 (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.h | 2 |
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 |