attribute const -> pure.

This commit is contained in:
Бранимир Караџић
2022-05-12 22:23:55 -07:00
parent 0f54f4086a
commit bd53db4861

View File

@@ -66,7 +66,7 @@
# define BX_UNLIKELY(_x) __builtin_expect(!!(_x), 0)
# define BX_NO_INLINE __attribute__( (noinline) )
# define BX_NO_RETURN __attribute__( (noreturn) )
# define BX_CONST_FUNC __attribute__( (const) )
# define BX_CONST_FUNC __attribute__( (pure) )
# if BX_COMPILER_GCC >= 70000
# define BX_FALLTHROUGH __attribute__( (fallthrough) )