Update keke_array_qsort and keke_array_qsort_header to use qsort_s on Windows since qsort_r isn't standard.
Also define _GNU_SOURCE because GCC isn't happy if you try to use qsort_r without it being defined.
Update keke_array_qsort and keke_array_qsort_header to use qsort_s on Windows since qsort_r isn't standard.
Also define _GNU_SOURCE because GCC isn't happy if you try to use qsort_r without it being defined.
qsort_r is not completely standardized, so we must accomodate for different platforms. The qsort_s function is available on Windows and we can use macros to transparently change behavior when required.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Update keke_array_qsort and keke_array_qsort_header to use qsort_s on Windows since qsort_r isn't standard.
Also define _GNU_SOURCE because GCC isn't happy if you try to use qsort_r without it being defined.