Whamcloud - gitweb
libsupport: fix sort_r.h to work on the GNU Hurd
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Jul 2021 03:46:36 +0000 (23:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Jul 2021 03:46:36 +0000 (23:46 -0400)
commit9aba05286c492927b81844193f941386f71ba829
tree1125ed8a674ba7fb1aca98443fd701e24115938d
parent225e5d093b519f9dbe9fcaacd995426f0e5194f6
libsupport: fix sort_r.h to work on the GNU Hurd

On the GNU Hurd both __MACH__ and __GNU__ are defined.  So rearrange
the #ifdef to prioritize checking for GLIBC compatibility over BSD
compatibility.

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