[git commit] mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly

Mike Frysinger vapier at gentoo.org
Tue Jul 12 03:39:21 UTC 2011


On Friday, July 01, 2011 17:50:15 Khem Raj wrote:
> --- a/include/sys/signalfd.h
> +++ b/include/sys/signalfd.h
> @@ -64,6 +64,15 @@ enum
>  # define SFD_NONBLOCK SFD_NONBLOCK
>    };
> 
> +#elif defined __mips__
> +enum
> +  {
> +    SFD_CLOEXEC = 02000000,
> +# define SFD_CLOEXEC SFD_CLOEXEC
> +    SFD_NONBLOCK = 0200
> +# define SFD_NONBLOCK SFD_NONBLOCK
> +  };

seems like this would be better as a bits/signalfd.h rather than inlining arch 
ifdef checks all over the place
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110711/8d840c30/attachment.asc>


More information about the uClibc mailing list