Blame gnulib/lib/size_max.h

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