commit | 19256bef9d264f96187261929992b96e61fa43fd | [log] [tgz] |
---|---|---|
author | Chun-wei Fan <fanchunwei@src.gnome.org> | Mon Mar 12 13:33:03 2018 +0800 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri Mar 23 15:52:33 2018 -0700 |
tree | b44971159567a7063532666ae565a802bb722453 | |
parent | 95f0458f44e9a7ec250f1bc7d9f060745dbabcf3 [diff] |
hb-private.hh: Add fallback implementation for round() For pre-C99 compilers that do not support round(), we need to have a simplistic implementation for it, when it is not detected during build configuration, either via CMake or autotools, by using floor() and ceil(), which are provided in the pre-C99 compilers. Please see discussion at commit 86a0ac2 for more details for re-adding this patch.