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)
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>
No differences found