X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/23761f428a4868820812ddb28aa71f60e0cf26d3..ea6046b9f6f8ab16f2f0f03a0d15499243971ae2:/tests/regression.at diff --git a/tests/regression.at b/tests/regression.at index 4998d370..544565ad 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -1,6 +1,7 @@ # Bison Regressions. -*- Autotest -*- -# Copyright (C) 2001-2010 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1374,11 +1375,11 @@ AT_DATA_GRAMMAR([input.y], large enough to overflow size_t. */ #define YYSIZE_T unsigned char - /* Bring in malloc and set _STDLIB_H so yacc.c doesn't try to + /* Bring in malloc and set EXIT_SUCCESS so yacc.c doesn't try to provide a malloc prototype using our YYSIZE_T. */ #include - #ifndef _STDLIB_H - # define _STDLIB_H 1 + #ifndef EXIT_SUCCESS + # define EXIT_SUCCESS 0 #endif /* Max depth is usually much smaller than YYSTACK_ALLOC_MAXIMUM, and