[Glibc-bsd-commits] r5837 - trunk/glibc-ports/kfreebsd/bits

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sat Nov 21 19:52:00 UTC 2015


Author: aurel32
Date: 2015-11-21 19:52:00 +0000 (Sat, 21 Nov 2015)
New Revision: 5837

Modified:
   trunk/glibc-ports/kfreebsd/bits/poll.h
Log:
Fix POLLRDNORM, POLLRDBAND, POLLWRNORM, and POLLWRBAND visibility


Modified: trunk/glibc-ports/kfreebsd/bits/poll.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/poll.h	2015-11-21 15:39:14 UTC (rev 5836)
+++ trunk/glibc-ports/kfreebsd/bits/poll.h	2015-11-21 19:52:00 UTC (rev 5837)
@@ -27,7 +27,7 @@
 #define POLLPRI		0x0002		/* There is urgent data to read.  */
 #define POLLOUT		0x0004		/* Writing now will not block.  */
 
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K8
 /* These values are defined in XPG4.2.  */
 # define POLLRDNORM	0x0040		/* Normal data may be read.  */
 # define POLLRDBAND	0x0080		/* Priority data may be read.  */




More information about the Glibc-bsd-commits mailing list