Re: [PATCH] git-compat-util: Avoid strcasecmp() being inlined
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 13, 2013, 20:01 UTC
- Message-ID
- <xmqqppscij8a.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAHGBnuMNDJhAqNfgVRHRE-7R=UZbd+fMExYeKDWWCFjyQJYYTQ@mail.gmail.com>
Sebastian Schuberth <sschuberth@gmail.com> writes:
> I don't like the idea of introducing a compat/mingw/string.h because > of two reasons: You would have to add a conditional to include that > string.h instead of the system one anyway,
With -Icompat/mingw passed to the compiler, which is a bog-standard technique we already use to supply headers the system forgot to supply or override buggy headers the system is shipped with, you do not have to change any "#include <string.h>".
Am I mistaken?