aboutsummaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-12-15 13:05:14 -0800
committerUlrich Drepper <drepper@redhat.com>2009-12-15 13:05:14 -0800
commitf282f6b90a52d95370392bd7a4e6ec1bbd90afe5 (patch)
tree33157b9193068301df12130dbfbbcfeafb6b1c03 /bits
parent2af6396817fb9df98e63de75dd59fd999ee9f1d0 (diff)
downloadglibc-f282f6b90a52d95370392bd7a4e6ec1bbd90afe5.tar
glibc-f282f6b90a52d95370392bd7a4e6ec1bbd90afe5.tar.gz
glibc-f282f6b90a52d95370392bd7a4e6ec1bbd90afe5.tar.bz2
glibc-f282f6b90a52d95370392bd7a4e6ec1bbd90afe5.zip
Update poll.h header for POSIX 2008.
Diffstat (limited to 'bits')
-rw-r--r--bits/poll.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bits/poll.h b/bits/poll.h
index 022a06cc1b..0ee9b00583 100644
--- a/bits/poll.h
+++ b/bits/poll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2000, 2001, 2009 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
@@ -27,8 +27,8 @@
#define POLLPRI 02 /* There is urgent data to read. */
#define POLLOUT 04 /* Writing now will not block. */
-#ifdef __USE_XOPEN
-/* These values are defined in XPG4.2. */
+#if defined __USE_XOPEN || defined __USE_XOPEN2K8
+/* These values are defined in XPG4.2 and later. */
# define POLLRDNORM POLLIN /* Normal data may be read. */
# define POLLRDBAND POLLPRI /* Priority data may be read. */
# define POLLWRNORM POLLOUT /* Writing now will not block. */