Whamcloud - gitweb
libsupport: fix sort_r.h to work on FreeBSD
authorTheodore Ts'o <tytso@mit.edu>
Sun, 15 Aug 2021 15:17:42 +0000 (11:17 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 Aug 2021 22:58:47 +0000 (18:58 -0400)
commitaddbb36997931e628f195f6c0bbc0310f39da96c
tree85917b128d7c1794f93141f5a722d310ed18bdaa
parentc6325aa8fea0c28db3a26700232e6b10b2654bc6
libsupport: fix sort_r.h to work on FreeBSD

FreeBSD defines __GNU_SOURCE so this is not reliable marker that the
OS is using a glibc-style qsort_r(3).

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/sort_r.h