[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] osdep.h: pull in sys/sysmacros.h for major/mino
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] osdep.h: pull in sys/sysmacros.h for major/minor/makedev |
Date: |
Wed, 15 Feb 2017 12:50:49 +0000 |
On 15 February 2017 at 03:02, Mike Frysinger <address@hidden> wrote:
> On 10 Feb 2017 09:04, Peter Maydell wrote:
>> I still think that it's a shame that glibc is breaking
>> compatibility with where these macros have always been
>> kept on every OS that's implemented them back to 2BSD...
>
> i don't think that characterization is accurate. if it were,
> autoconf wouldn't have a AC_HEADER_MAJOR helper.
Hmm, Googling suggests that Solaris (and perhaps
other SysV Unixes) put them in mkdev.h.
That doesn't explain why glibc is taking yet a third
approach here rather than using either of the two
previously used choices...
thanks
-- PMM