mingw: don't try to redefine alloca

mingw already has a #define alloca __builtin_alloca so trying to
redefine it triggers a warning.
This commit is contained in:
Christophe Fergeau 2012-02-29 19:01:58 +01:00 committed by Marc-André Lureau
parent a107b62a74
commit ea9e91cd8d

View File

@ -41,7 +41,9 @@ extern "C" {
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
#if !defined alloca
# define alloca __builtin_alloca
#endif
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER