Pārlūkot izejas kodu

Fix gcc build

Although gcc is not officially supported, this little fix lets it to build Odin
avanspector 1 gadu atpakaļ
vecāks
revīzija
70c150fc83
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 		#define gb_inline __forceinline
 		#endif
 		#endif
 	#else
 	#else
-		#define gb_inline __attribute__ ((__always_inline__))
+		#define gb_inline inline __attribute__ ((__always_inline__))
 	#endif
 	#endif
 #endif
 #endif