>__gnu_hurd__
That's perfect. I replaced __GLIBC__ with this. So skalibs/nonposix.h
will define _GNU_SOURCE on Linux and Hurd, i.e. the systems whose
function visibility benefits the most from it.
Testing kernel ftms is generally ugly, but it's the right thing for
nonposix.h whose goal is precisely determining which libc ftms to define
in order to maximize visibility of idiomatic system functions, before
including libc headers.
Thanks, Guillermo and Shengjing.
--
Laurent
Received on Thu Oct 17 2019 - 20:02:41 UTC