src/hb-private.hh | 1 + 1 file changed, 1 insertion(+) New commits: commit c290ba5b7d4e9e4a5f02340a22e6c9c46564906b Author: Behdad Esfahbod <beh...@behdad.org> Date: Tue Oct 31 13:18:21 2017 -0600
Define _GNU_SOURCE Might help with https://github.com/behdad/harfbuzz/pull/592 Ie. bringing in qsort_r() prototype always. diff --git a/src/hb-private.hh b/src/hb-private.hh index 6f2106ee..6d54eef5 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -92,6 +92,7 @@ extern "C" void hb_free_impl(void *ptr); #endif // __cplusplus < 201103L +#define _GNU_SOURCE 1 #if (defined(__GNUC__) || defined(__clang__)) && defined(__OPTIMIZE__) #define likely(expr) (__builtin_expect (!!(expr), 1)) _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz