|
@@ -166,7 +166,7 @@
|
|
|
// Some compiler attributes
|
|
// Some compiler attributes
|
|
|
#if ANKI_COMPILER_GCC_COMPATIBLE
|
|
#if ANKI_COMPILER_GCC_COMPATIBLE
|
|
|
# define ANKI_RESTRICT __restrict
|
|
# define ANKI_RESTRICT __restrict
|
|
|
-# define ANKI_FORCE_INLINE __attribute__((always_inline))
|
|
|
|
|
|
|
+# define ANKI_FORCE_INLINE inline __attribute__((always_inline))
|
|
|
# define ANKI_DONT_INLINE __attribute__((noinline))
|
|
# define ANKI_DONT_INLINE __attribute__((noinline))
|
|
|
# define ANKI_UNUSED __attribute__((__unused__))
|
|
# define ANKI_UNUSED __attribute__((__unused__))
|
|
|
# define ANKI_COLD __attribute__((cold, optimize("Os")))
|
|
# define ANKI_COLD __attribute__((cold, optimize("Os")))
|