Re: [PATCH] git-compat-util: Avoid strcasecmp() being inlined
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 13, 2013, 22:35 UTC
- Message-ID
- <xmqqtxhogxk2.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <xmqqli30idfx.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
> You can explicitly include the system header from your compatibility > layer, i.e. > ... > and then in config.mak.uname, do something like this: > ... > COMPAT_CFLAGS += -DSYSTEM_STRING_H_HEADER=$(SYSTEM_STRING_H_HEADER)
You need to have one level of quoting to keep "" from being eaten; it should be sufficient to see how SHA1_HEADER that is included in cache.h is handled and imitate it.