Date: Fri, 26 Sep 2008 13:09:17 -0700 From: "Peter Wemm" <peter@wemm.org> To: "John Baldwin" <jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/include Makefile unistd.h Message-ID: <e7db6d980809261309h62a10070yffe84808d9200833@mail.gmail.com> In-Reply-To: <200809261549.57527.jhb@freebsd.org> References: <200809261923.m8QJNZ9b034243@repoman.freebsd.org> <200809261549.57527.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 2008 at 12:49 PM, John Baldwin <jhb@freebsd.org> wrote: > On Friday 26 September 2008 03:23:22 pm Peter Wemm wrote: >> peter 2008-09-26 19:23:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> include Makefile unistd.h >> Log: >> SVN rev 183390 on 2008-09-26 19:23:22Z by peter >> >> Move getosreldate(3) prototype from the machine generated <osreldate.h> >> to <unistd.h> in the BSD section. >> >> Suggested by: kib > > Marcel already worked around the ia64 stuff. I wonder if the ia64 Makefile > shouldn't be using a ! make variable to grep it out anyway, something like: > > OSRELDATE!= awk /__FreeBSD_version/ { print $3 } > CFLAGS+= -D__FreeBSD_version=${OSRELDATE} I think Konstantin was right though. unistd.h is a safer/better place. osreldate.h (for us) has traditionally been a pure cpp-only, language-agnostic header file for as long as I can remember. The issue of ia64 setting __STDC__ for asm files is a separate issue. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db6d980809261309h62a10070yffe84808d9200833>