Blame lib/libiberty.h

Packit Service c3aa71
/* Fake libiberty.h for Bison.
Packit Service c3aa71
Packit Service c3aa71
   Copyright (C) 2002-2004, 2009-2015 Free Software Foundation, Inc.
Packit Service c3aa71
Packit Service c3aa71
   This program is free software: you can redistribute it and/or modify
Packit Service c3aa71
   it under the terms of the GNU General Public License as published by
Packit Service c3aa71
   the Free Software Foundation, either version 3 of the License, or
Packit Service c3aa71
   (at your option) any later version.
Packit Service c3aa71
Packit Service c3aa71
   This program is distributed in the hope that it will be useful,
Packit Service c3aa71
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service c3aa71
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service c3aa71
   GNU General Public License for more details.
Packit Service c3aa71
Packit Service c3aa71
   You should have received a copy of the GNU General Public License
Packit Service c3aa71
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
Packit Service c3aa71
Packit Service c3aa71
Packit Service c3aa71
/* Bison depends on libiberty's implementation of bitsets, which
Packit Service c3aa71
   requires a 'libiberty.h' file.  This file provides the minimum
Packit Service c3aa71
   services.  */
Packit Service c3aa71
Packit Service c3aa71
#ifndef BISON_LIBIBERTY_H_
Packit Service c3aa71
# define BISON_LIBIBERTY_H_ 1
Packit Service c3aa71
Packit Service c3aa71
# ifndef __attribute__
Packit Service c3aa71
#  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
Packit Service c3aa71
#   define __attribute__(x)
Packit Service c3aa71
#  endif
Packit Service c3aa71
# endif
Packit Service c3aa71
Packit Service c3aa71
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
Packit Service c3aa71
Packit Service c3aa71
# include "xalloc.h"
Packit Service c3aa71
Packit Service c3aa71
#endif /* ! BISON_LIBIBERTY_H_ */