Havok: Fix HK_FORCE_INLINE to actually force inlining

...using the always_inline attribute
This commit is contained in:
Léo Lam 2022-03-29 19:13:34 +02:00
parent 5d6f2f0569
commit 288b3421a0
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#pragma once
#define HK_FORCE_INLINE inline
#define HK_FORCE_INLINE inline __attribute__((always_inline))
#define HK_ALWAYS_INLINE HK_FORCE_INLINE
#define HK_NEVER_INLINE __attribute__((noinline))