mailmap: work around implementations with pure inline strcasecmp
commitde2f95ebed260b5fb31942d6315994829fb6fc63
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2013 15:37:08 +0000 (12 08:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2013 19:05:48 +0000 (12 12:05 -0700)
tree731755bb74ae253f8c50320cfe251d80625c771d
parente230c568c4b9a991e3175e5f65171a566fd8e39c
mailmap: work around implementations with pure inline strcasecmp

On some systems (e.g. MinGW 4.0), string.h has only inline
definition of strcasecmp and no non-inline implementation is
supplied anywhere, which is, eh, "unusual".  We cannot take an
address of such a function to store it in namemap.cmp.

Work it around by introducing our own level of indirection.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailmap.c