https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211333

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |[email protected]
         Resolution|---                         |FIXED
           Assignee|[email protected]    |[email protected]

--- Comment #1 from Jilles Tjoelker <[email protected]> ---
Applications are not supposed to define __BSD_VISIBLE and whenever
<sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and
__XSI_VISIBLE to the newest version supported. Therefore, the correct fix is to
remove the || __BSD_VISIBLE part in that line in include/unistd.h. I did this
in 11-current in SVN r265878 but do not plan to MFC it.

Note that it is still possible to have __POSIX_VISIBLE or __XSI_VISIBLE in the
same #if as __BSD_VISIBLE if the feature was deprecated by POSIX and is
therefore only available in older POSIX versions but should still be available
in the default compilation environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to