[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] include sys/sysmacros.h for major
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] [PATCH] include sys/sysmacros.h for major |
Date: |
Tue, 10 May 2016 13:37:00 -0700 |
Yo Mike!
On Tue, 10 May 2016 16:29:07 -0400
Mike Frysinger <address@hidden> wrote:
> On 10 May 2016 10:58, Gary E. Miller wrote:
> > I do not find 'because everyone else does' a compelling reason. Can
> > you point to a single thing released, beta or even git head, that
> > needs this? Or some statement from glibc of future direction?
>
> i linked to the glibc list with the initial discussion on the topic.
My apologies, I missed the link. Can you pleasse resend.
> > If autoconfuse does it I find that somewhat compelling. But all
> > they do is set MAJOR_IN_SYSMACROS.
>
> right, so C files can test it and include the sysmacros.h header.
> it's the same as doing AC_CHECK_HEADER([unistd.h]) -- all that does
> is create a define HAVE_UNISTD_H. it's still up to code to check the
> define and include the header or change its behavior.
Luckily gpsd and ntpd are freed from the autoconfuse asylum.
> > Do we know of any cases that use that define?
>
> i imagine googling for the define will find you some source trees.
I did that, did not find muchh of interest. Just a lot of trash.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgpqeUK1dIAhX.pgp
Description: OpenPGP digital signature