From d3669add24e6ebc86ed25683ff4d4eb7c67e4d56 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 19 Mar 1996 21:59:41 +0000 Subject: * 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. --- libc-symbols.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc-symbols.h') diff --git a/libc-symbols.h b/libc-symbols.h index f7231f9c7c..7405e67086 100644 --- a/libc-symbols.h +++ b/libc-symbols.h @@ -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 /* This disables sccsid/rcsid strings in lots of code of non-GNU origin. */ -- cgit v1.2.3