Parcourir la source

Fix gcc build

Although gcc is not officially supported, this little fix lets it to build Odin
avanspector il y a 1 an
Parent
commit
70c150fc83
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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