diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-04 00:54:03 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-11-04 04:22:41 +0100 |
commit | 1bdae0fe29f87daa81d2aba052a10a709b87485a (patch) | |
tree | 16d0f4aa4c4a11222c6950b3ad60e7d1d9905036 /src/common/bit_field.h | |
parent | Merge pull request #3059 from FearlessTobi/stub-am-commands (diff) | |
download | yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar.gz yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar.bz2 yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar.lz yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar.xz yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.tar.zst yuzu-1bdae0fe29f87daa81d2aba052a10a709b87485a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/bit_field.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/bit_field.h b/src/common/bit_field.h index 8131d1f95..fd2bbbd99 100644 --- a/src/common/bit_field.h +++ b/src/common/bit_field.h @@ -36,6 +36,13 @@ #include "common/common_funcs.h" #include "common/swap.h" +// Inlining +#ifdef _WIN32 +#define FORCE_INLINE __forceinline +#else +#define FORCE_INLINE inline __attribute__((always_inline)) +#endif + /* * Abstract bitfield class * |