On Sun, Aug 30, 2020 at 06:09:47PM +0200, Joerg Sonnenberger wrote: > On Sun, Aug 30, 2020 at 12:00:33PM +0000, co...@sdf.org 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 */