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

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Thu Nov 22 00:41:53 UTC 2007


Author: aurel32
Date: 2007-11-22 00:41:53 +0000 (Thu, 22 Nov 2007)
New Revision: 2046

Modified:
   trunk/glibc-ports/kfreebsd/bits/sigset.h
Log:
ISO C99 doesn't support anonymous union, so gcc -std=c99 fails to compile
/usr/include/bits/sigset.h. Workaround the problem with __extension__


Modified: trunk/glibc-ports/kfreebsd/bits/sigset.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/sigset.h	2007-11-21 22:35:46 UTC (rev 2045)
+++ trunk/glibc-ports/kfreebsd/bits/sigset.h	2007-11-22 00:41:53 UTC (rev 2046)
@@ -25,7 +25,7 @@
 /* A `sigset_t' has a bit for each signal.  */
 typedef struct
   {
-    union
+    __extension__ union
       {
         unsigned int __sigbits[4];
         unsigned int __bits[4];




More information about the Glibc-bsd-commits mailing list