tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] Make more of stdlib.h visible if _NETBSD_SOURCE isn't defined



On Sun, Aug 30, 2020 at 06:09:47PM +0200, Joerg Sonnenberger wrote:
> On Sun, Aug 30, 2020 at 12:00:33PM +0000, coypu%sdf.org@localhost wrote:
> > Move the big "if _NETBSD_SOURCE" chunk to the "Implementation defined" section.
> > Makes "at_quick_exit" and others visible for strict C/C++.
> 
> alloca is not part of POSIX.
> 
> Joerg

Hmm, should I just remove lines 349, 139-140?

#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
    defined(_NETBSD_SOURCE)

    ... bunch of properly guarded things that need no additional guards ...

#endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */


Home | Main Index | Thread Index | Old Index