1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

* features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined

and no other _*_SOURCE macro is.
	(_GNU_SOURCE): Don't define by default.
	* libc-symbols.h (_GNU_SOURCE): Define it.
This commit is contained in:
Roland McGrath
1996-03-19 21:59:41 +00:00
parent c8cf0b14ed
commit d3669add24
4 changed files with 24 additions and 13 deletions

View File

@ -46,6 +46,9 @@ Cambridge, MA 02139, USA. */
itself is being compiled, or just some generator program. */
#define _LIBC 1
/* Enable declarations of GNU extensions, since we are compiling them. */
#define _GNU_SOURCE 1
#include <config.h>
/* This disables sccsid/rcsid strings in lots of code of non-GNU origin. */