tech-userlevel archive

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

Re: FYI: POSIX update - SIGWINCH and 'struct winsize' (etc) to be added



On 22.10.2017 06:04, Robert Elz wrote:
> Maybe that doesn't matter (or not much), as it is very rare (I think) to
> ever see anything compiled on NetBSD without _NETBSD_SOURCE being defined
> (isn't it?) and what happens for compiles not on NeBSD isn't relevant for
> this discussion (nothing is affecting that.)

As far as I can tell, if something defines a namespace like
_POSIX_SOURCE, it excludes _NETBSD_SOURCE. I've not researched the
source of this mechanism, but this is my observation and common in 3rd
party software.

It can also be nasty with compiler options like -std=c99 or -std=c++11.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index