<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/strtoumax.c, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-02-20T02:20:30Z</updated>
<entry>
<title>Add a compat/strtoumax.c for Solaris 8.</title>
<updated>2007-02-20T02:20:30Z</updated>
<author>
<name>Jason Riedy</name>
<email>ejr@EECS.Berkeley.EDU</email>
</author>
<published>2007-02-20T00:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc6b4f52fc79712db637ff90a472b82b32695e11'/>
<id>urn:sha1:bc6b4f52fc79712db637ff90a472b82b32695e11</id>
<content type='text'>
Solaris 8 was pre-c99, and they weren't willing to commit to
the strtoumax definition according to /usr/include/inttypes.h.

This adds NO_STRTOUMAX and NO_STRTOULL for ancient systems.
If NO_STRTOUMAX is defined, the routine in compat/strtoumax.c
will be used instead.  That routine passes its arguments to
strtoull unless NO_STRTOULL is defined.  If NO_STRTOULL, then
the routine uses strtoul (unsigned long).

Signed-off-by: Jason Riedy &lt;ejr@cs.berkeley.edu&gt;
Acked-by: Shawn O Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
