Blame gl/size_max.h

Packit 549fdc
/* size_max.h -- declare SIZE_MAX through system headers
Packit 549fdc
   Copyright (C) 2005-2006, 2009-2016 Free Software Foundation, Inc.
Packit 549fdc
   Written by Simon Josefsson.
Packit 549fdc
Packit 549fdc
   This program is free software; you can redistribute it and/or modify
Packit 549fdc
   it under the terms of the GNU Lesser General Public License as published by
Packit 549fdc
   the Free Software Foundation; either version 2.1, or (at your option)
Packit 549fdc
   any later version.
Packit 549fdc
Packit 549fdc
   This program is distributed in the hope that it will be useful,
Packit 549fdc
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 549fdc
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 549fdc
   GNU Lesser General Public License for more details.
Packit 549fdc
Packit 549fdc
   You should have received a copy of the GNU Lesser General Public License
Packit 549fdc
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
Packit 549fdc
Packit 549fdc
#ifndef GNULIB_SIZE_MAX_H
Packit 549fdc
#define GNULIB_SIZE_MAX_H
Packit 549fdc
Packit 549fdc
/* Get SIZE_MAX declaration on systems like Solaris 7/8/9.  */
Packit 549fdc
# include <limits.h>
Packit 549fdc
/* Get SIZE_MAX declaration on systems like glibc 2.  */
Packit 549fdc
# if HAVE_STDINT_H
Packit 549fdc
#  include <stdint.h>
Packit 549fdc
# endif
Packit 549fdc
/* On systems where these include files don't define it, SIZE_MAX is defined
Packit 549fdc
   in config.h.  */
Packit 549fdc
Packit 549fdc
#endif /* GNULIB_SIZE_MAX_H */