about summary refs log tree commit diff
path: root/libc-symbols.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-19 21:59:41 +0000
committerRoland McGrath <roland@gnu.org>1996-03-19 21:59:41 +0000
commitd3669add24e6ebc86ed25683ff4d4eb7c67e4d56 (patch)
tree8dd2bcd753727f20d10781d212197f8708ef8b44 /libc-symbols.h
parentc8cf0b14ed2a085f17c6c5c58ca4a92d97591fcc (diff)
downloadglibc-d3669add24e6ebc86ed25683ff4d4eb7c67e4d56.tar.gz
glibc-d3669add24e6ebc86ed25683ff4d4eb7c67e4d56.tar.xz
glibc-d3669add24e6ebc86ed25683ff4d4eb7c67e4d56.zip
* 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.h3
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.  */