Fix building on Windows #1

Merged
seoxi merged 2 commits from windows_compat into meta 2026-08-27 00:06:38 -04:00

2 Commits

Author SHA1 Message Date
starbitdev 103580e351 [libkeke_array.c] Define _GNU_SOURCE macro
GCC will not use non-standard GNU functions unless you define this macro.
2026-08-26 21:21:56 -04:00
starbitdev 4398ceec2c [libkeke_array.c] Use qsort_s on Windows
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.
2026-08-26 20:14:55 -04:00