Browse Source

Fix gcc build

Although gcc is not officially supported, this little fix lets it to build Odin
avanspector 1 year ago
parent
commit
70c150fc83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gb/gb.h

+ 1 - 1
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