Define _GNU_SOURCE
Might help with https://github.com/behdad/harfbuzz/pull/592 Ie. bringing in qsort_r() prototype always.
This commit is contained in:
parent
98acdde3c6
commit
c290ba5b7d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue