Re: [PATCH 6/7] Check if strtoumax is a macro (eg HP-UX 11.11).
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 20, 2020, 03:19 UTC
- Message-ID
- <xmqqh7wbxph3.fsf@gitster.c.googlers.com>
- In-Reply-To
- <CALDDTe3CBUxEC7E+xc3RhJP45N3v8QXNqt3oq98308x-PJ9r_w@mail.gmail.com>
Darren Tucker <dtucker@dtucker.net> writes:
Show 5 quoted lines
> The caveat with putting it in GIT_CHECK_FUNC() is that you'll need to > include the union of all of the header files that might have all of > the things you're looking for instead of the hopefully small set of > them that might have the one specific thing you're looking for. I > suspect that would be more hassle than it's worth.
Oh, what I had in mind was to replace GIT_CHECK_FUNC() with a macro that takes not just function name but also include file. Not "the union of all the include files".