Protected inclusion of "config.h" with HAVE_CONFIG_H.

This commit is contained in:
Jesse Thilo
1999-05-19 11:24:34 +00:00
parent 3114db31fd
commit e0d27f5f08
3 changed files with 6 additions and 0 deletions

View File

@@ -19,7 +19,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define NEW(t) ((t *) xmalloc((unsigned) sizeof(t)))
#define NEW2(n, t) ((t *) xmalloc((unsigned) ((n) * sizeof(t))))

View File

@@ -18,7 +18,9 @@ along with Bison; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define TABSIZE 1009

View File

@@ -1,3 +1,5 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
char *version_string = "GNU Bison version " VERSION "\n";