diff options
author | Roland McGrath <roland@gnu.org> | 1996-03-19 21:59:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-03-19 21:59:41 +0000 |
commit | d3669add24e6ebc86ed25683ff4d4eb7c67e4d56 (patch) | |
tree | 8dd2bcd753727f20d10781d212197f8708ef8b44 /libc-symbols.h | |
parent | c8cf0b14ed2a085f17c6c5c58ca4a92d97591fcc (diff) |
* 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.
Diffstat (limited to 'libc-symbols.h')
-rw-r--r-- | libc-symbols.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <config.h> /* This disables sccsid/rcsid strings in lots of code of non-GNU origin. */ |