util: make the qsort_r check work on macOS
This performs a compile-check by using CMake support, to differentiate the GNU version from the BSD version of qsort_r. Module taken from 4f252abea5f1d17c60f6ff115c9c44cc0b6f1df6, which I've checked against CMake 2.8.11. (cherry picked from commit 1a9cc182)
Showing
cmake/Modules/CheckPrototypeDefinition.c.in
0 → 100644
cmake/Modules/CheckPrototypeDefinition.cmake
0 → 100644
Please
register
or
sign in
to comment