From: Joseph Myers Date: Wed, 16 Dec 2009 19:35:09 +0000 (+0000) Subject: Update M68K bits/poll.h for POSIX 2008. X-Git-Tag: glibc-2.16-ports-before-merge~544 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d79f83e907d938087a5a93c514e48a4ce438c9d;p=thirdparty%2Fglibc.git Update M68K bits/poll.h for POSIX 2008. --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 8411570b039..978cd1a8841 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,9 @@ +2009-12-16 Joseph Myers + + [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 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and diff --git a/sysdeps/unix/sysv/linux/m68k/bits/poll.h b/sysdeps/unix/sysv/linux/m68k/bits/poll.h index bc285799e18..84219ba4926 100644 --- a/sysdeps/unix/sysv/linux/m68k/bits/poll.h +++ b/sysdeps/unix/sysv/linux/m68k/bits/poll.h @@ -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. */