about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-17 00:38:41 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-17 00:38:41 +0000
commit23ae64517447a0b11ea4102a29c0d18f8f5949d0 (patch)
treeb68d0174ba8455b4ab9c3626f5da5fe191433408 /include
parent7ac5b8e2fae145766821d141cf892bbfa50d6618 (diff)
downloadglibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.tar.gz
glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.tar.xz
glibc-23ae64517447a0b11ea4102a29c0d18f8f5949d0.zip
Update.
	* include/features.h (__USE_XOPEN2K): Define also for
	_POSIX_C_SOURCE>=200112L.
Diffstat (limited to 'include')
-rw-r--r--include/features.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index 5e39b7fcc9..f9735dc66f 100644
--- a/include/features.h
+++ b/include/features.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993,1995-2000,2001,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993,1995-2002, 2003   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -188,6 +188,10 @@
 # define __USE_POSIX199506	1
 #endif
 
+#if (_POSIX_C_SOURCE - 0) >= 200112L
+# define __USE_XOPEN2K		1
+#endif
+
 #ifdef	_XOPEN_SOURCE
 # define __USE_XOPEN	1
 # if (_XOPEN_SOURCE - 0) >= 500