This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: remove <sys/sysmacros.h> from <sys/types.h>
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Zack Weinberg <zackw at panix dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 14 Nov 2015 10:18:23 +0100
- Subject: Re: RFC: remove <sys/sysmacros.h> from <sys/types.h>
- Authentication-results: sourceware.org; auth=none
- References: <CAKCAbMiU=h2Vs3X-b8mRjP3Kig_TVngObPNpYauTqZs_=0q6Gg at mail dot gmail dot com> <20151113234333 dot D1DCA2C3B7B at topped-with-meat dot com>
Roland McGrath <roland@hack.frob.com> writes:
> Having <sys/types.h> define these macros is part of the original BSD API
> that was the baseline for glibc long long ago. What do the modern BSDs
> do about this issue?
Nothing, they have the same problem.
https://svnweb.freebsd.org/base/head/sys/sys/types.h?view=markup#l356
(__BSD_VISIBLE is the equivalent of __USE_BSD.)
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."