diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-07-10 00:51:41 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-07-10 00:51:41 +0300 |
commit | ad83a3194c821e2ce1f2c9ccd5b572aa5bd8c136 (patch) | |
tree | f36c41780d072ad14468ce88ce9ccd02324ffbf5 /thirdparty/harfbuzz/src/hb.hh | |
parent | 85c9db592f22941ce7c2a540a526e702f4cc1848 (diff) | |
download | redot-engine-ad83a3194c821e2ce1f2c9ccd5b572aa5bd8c136.tar.gz |
HarfBuzz: Update to version 8.0.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/hb.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb.hh b/thirdparty/harfbuzz/src/hb.hh index 205f8cf196..49119b8f82 100644 --- a/thirdparty/harfbuzz/src/hb.hh +++ b/thirdparty/harfbuzz/src/hb.hh @@ -315,6 +315,14 @@ extern "C" void hb_free_impl(void *ptr); #define __restrict #endif +#ifndef HB_ALWAYS_INLINE +#if defined(_MSC_VER) +#define HB_ALWAYS_INLINE __forceinline +#else +#define HB_ALWAYS_INLINE __attribute__((always_inline)) inline +#endif +#endif + /* * Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411 * HB_FALLTHROUGH is an annotation to suppress compiler warnings about switch |