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

index 8411570b039f5c213bf8f7b60086765c21268c09..978cd1a8841692bdf8bb9e06f2542e7cee08b4e9 100644 (file)
@@ -1,3 +1,9 @@
+2009-12-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #11093]
+       * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
+       POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
+
 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
index bc285799e187c28b20f54c86b009b1b733f8b49c..84219ba49261fda59e6bfd94507ed640c10b250b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2008, 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.  */