From 23ae64517447a0b11ea4102a29c0d18f8f5949d0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 May 2003 00:38:41 +0000 Subject: Update. * include/features.h (__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L. --- include/features.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/features.h') 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 -- cgit v1.2.3