Code

Makefile: Solaris needs HAVE_ALLOCA_H for alloca()
authorBrandon Casey <drafnel@gmail.com>
Fri, 19 Jun 2009 15:10:39 +0000 (10:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Jun 2009 04:50:11 +0000 (21:50 -0700)
commit1d7b1af42028c321aeca18ab1c719b21089108bf
treee2487c844b3603fc3a7951107dad3f782796a1a0
parentee78cac22b3e5e3f93898361b87a38b488c5592e
Makefile: Solaris needs HAVE_ALLOCA_H for alloca()

There is special handling in compat/regex/regex.c for the GNU compiler
to define alloca to __builtin_alloca, but the native compiler must include
alloca.h which happens when HAVE_ALLOCA_H is defined.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile