diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-05 22:55:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 22:55:11 +0100 |
commit | 4dc068a90c58e6204173af20f1a6ef29b48ddb28 (patch) | |
tree | 16d0f4aa4c4a11222c6950b3ad60e7d1d9905036 /src/common/bit_field.h | |
parent | Merge pull request #3059 from FearlessTobi/stub-am-commands (diff) | |
parent | common_func: Use std::array for INSERT_PADDING_* macros. (diff) | |
download | yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.gz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.bz2 yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.lz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.xz yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.tar.zst yuzu-4dc068a90c58e6204173af20f1a6ef29b48ddb28.zip |
Diffstat (limited to 'src/common/bit_field.h')
-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 * |