Blame gettext-runtime/libasprintf/size_max.h

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