X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libiberty%2Falloca-conf.h;h=9c3eea396c19359acacad49f735999982ec56410;hb=2c45d1a04de4cd940c53191e51e2e21ace86e541;hp=4eb87d3cfa4dd7d3608190995cf9577127dec49d;hpb=e5da599a0c4457eb6e3e7bc801d10898c34c3c47;p=thirdparty%2Fgcc.git diff --git a/libiberty/alloca-conf.h b/libiberty/alloca-conf.h index 4eb87d3cfa4d..9c3eea396c19 100644 --- a/libiberty/alloca-conf.h +++ b/libiberty/alloca-conf.h @@ -1,6 +1,6 @@ #include "config.h" -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(C_ALLOCA) # ifndef alloca # define alloca __builtin_alloca # endif @@ -8,7 +8,7 @@ # ifdef _AIX #pragma alloca # else -# ifdef HAVE_ALLOCA_H +# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA) # include # else /* ! defined (HAVE_ALLOCA_H) */ # ifdef __STDC__