]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update MIPS bits/poll.h for POSIX 2008.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 16 Dec 2009 17:48:31 +0000 (17:48 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 16 Dec 2009 17:48:31 +0000 (17:48 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/poll.h

index 0f8f7c8796daf3993482e5cb78a7213d587198b5..68ba90da569d6be5314f3ef1e5565fe005c980dd 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #11093]
+       * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
+       POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
+
 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/mips/dl-lookup.c: Update from generic version.
index eee4ea253b75607877ff6a8157fadea77af921e7..823123948e81765f68125b7f2d12982900415376 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2006, 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,7 +27,7 @@
 #define POLLPRI                0x002           /* There is urgent data to read.  */
 #define POLLOUT                0x004           /* Writing now will not block.  */
 
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K8
 /* These values are defined in XPG4.2.  */
 # define POLLRDNORM    0x040           /* Normal data may be read.  */
 # define POLLRDBAND    0x080           /* Priority data may be read.  */