commit | 2f4be4ba54b539fbadc31fc53bdcfca81d7db77a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Fri Apr 12 16:21:58 2019 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri Apr 12 16:21:58 2019 -0400 |
tree | fa8cfe3a5804d2b756779e1fb0395aee8fa23d47 | |
parent | 079d2dcbb2607cda3daa497199090c5813a51de5 [diff] [blame] |
Add HB_NO_OPTIONS Part of https://github.com/harfbuzz/harfbuzz/issues/1652
diff --git a/src/hb-debug.hh b/src/hb-debug.hh index d81483b..52d5942 100644 --- a/src/hb-debug.hh +++ b/src/hb-debug.hh
@@ -63,6 +63,9 @@ static inline hb_options_t hb_options () { +#if defined(HB_NO_OPTIONS) + return hb_options_t (); +#endif /* Make a local copy, so we can access bitfield threadsafely. */ hb_options_union_t u; u.i = _hb_options.get_relaxed ();