git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add support for uintmax_t type on FreeBSD 4.9

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 28, 2008, 04:14 UTC
Message-ID
<7v8ws9gxun.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<9a0027270810270623h4c0c34d0vcd92f61edff6da5@mail.gmail.com>
"David Syzdek" <syzdek@gmail.com> writes:
Show 9 quoted lines
> The following should match against FreeBSD 4.x:
>
> 	FREEBSD_MAJOR := $(shell sh -c 'echo $(uname_R) |cut -d. -f1')
> 	ifeq ($(FREEBSD_MAJOR),4)
> 		NO_UINTMAX_T = YesPlease
> 		NO_STRTOUMAX = YesPlease
> 	endif
>
> Is the use of FREEBSD_MAJOR okay, or would another name be more appropriate?
Other parts of the Makefile seems to do something like this:
	ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
        
Previous: David Syzdek
Message 6 of 6 in “Add support for uintmax_t type on FreeBSD 4.9”
  1. Add support for uintmax_t type on FreeBSD 4.9David M. Syzdek, Oct 26, 2008
  2. Junio C HamanoOct 27, 2008
  3. David SyzdekOct 27, 2008
  4. Junio C HamanoOct 27, 2008
  5. David SyzdekOct 27, 2008
  6. Junio C HamanoOct 28, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.