X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Falloca_.h;h=3e3fdf43f860865a3b3c09b0be9006a802d882b1;hb=8de557e31178699dd6e839850056f0653cdfba89;hp=8a91698c54ada91d9627195a5b13919d3d4fc06b;hpb=5e576318cdb5628381e4082c3f4a29c1e97f27a8;p=gnulib.git diff --git a/lib/alloca_.h b/lib/alloca_.h index 8a91698c5..3e3fdf43f 100644 --- a/lib/alloca_.h +++ b/lib/alloca_.h @@ -15,15 +15,13 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* When this file is included, it may be preceded only by preprocessor - declarations. Thanks to AIX. Therefore we include it right after - "config.h", not later. */ - -#ifndef _ALLOCA_H -# define _ALLOCA_H +/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H + means there is a real alloca function. */ +#ifndef _GNULIB_ALLOCA_H +# define _GNULIB_ALLOCA_H /* alloca (N) returns a pointer to N bytes of memory allocated on the stack, which will last until the function returns. @@ -39,7 +37,7 @@ #ifdef __GNUC__ # define alloca __builtin_alloca #elif defined _AIX -# define alloca __alloca +# define alloca __alloca #elif defined _MSC_VER # include # define alloca _alloca @@ -51,4 +49,4 @@ extern "C" void *alloca (size_t); #endif -#endif /* _ALLOCA_H */ +#endif /* _GNULIB_ALLOCA_H */