Code

compat/regex: get the gawk regex engine to compile within git
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 17 Aug 2010 09:24:39 +0000 (09:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 21:06:54 +0000 (14:06 -0700)
commita997bf423d4baac5b2286edccd1cef897108397f
treeddea78c3d0fa422aaac324598ef3b5fe75d154bb
parentd18f76dccff1fc56221846926edb4542d88f60e0
compat/regex: get the gawk regex engine to compile within git

We need to define -DGAWK -DNO_MBSUPPORT so that the gawk regex engine
will compile, and include stdio.h and stddef.h in regex.h. Gawk itself
includes these headers before it includes the regex.h header.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
compat/regex/regex.h