Re: svn commit: r318780 - in head: include sys/sys

2017-08-03 Thread Jan Beich
Konstantin Belousov writes: > -#ifndef _POSIX_SOURCE > +#if __BSD_VISIBLE > #define ONLCR 0x0002 /* map NL to CR-NL (ala CRMOD) > */ This caused a regression for apps building with _XOPEN_SOURCE e.g.,

svn commit: r318780 - in head: include sys/sys

2017-05-24 Thread Konstantin Belousov
Author: kib Date: Wed May 24 09:25:13 2017 New Revision: 318780 URL: https://svnweb.freebsd.org/changeset/base/318780 Log: Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE. The Termios headers and used sometimes _POSIX_SOURCE directly to determine if a thing should