Blame lib/ctype.in.h

Packit 1ac44c
/* A substitute for ISO C99 <ctype.h>, for platforms on which it is incomplete.
Packit 1ac44c
Packit 1ac44c
   Copyright (C) 2009-2018 Free Software Foundation, Inc.
Packit 1ac44c
Packit 1ac44c
   This program is free software; you can redistribute it and/or modify
Packit 1ac44c
   it under the terms of the GNU General Public License as published by
Packit 1ac44c
   the Free Software Foundation; either version 3, or (at your option)
Packit 1ac44c
   any later version.
Packit 1ac44c
Packit 1ac44c
   This program is distributed in the hope that it will be useful,
Packit 1ac44c
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1ac44c
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 1ac44c
   GNU General Public License for more details.
Packit 1ac44c
Packit 1ac44c
   You should have received a copy of the GNU General Public License
Packit 1ac44c
   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
Packit 1ac44c
Packit 1ac44c
/* Written by Bruno Haible.  */
Packit 1ac44c
Packit 1ac44c
/*
Packit 1ac44c
 * ISO C 99 <ctype.h> for platforms on which it is incomplete.
Packit 1ac44c
 * <http://www.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html>
Packit 1ac44c
 */
Packit 1ac44c
Packit 1ac44c
#ifndef _@GUARD_PREFIX@_CTYPE_H
Packit 1ac44c
Packit 1ac44c
#if __GNUC__ >= 3
Packit 1ac44c
@PRAGMA_SYSTEM_HEADER@
Packit 1ac44c
#endif
Packit 1ac44c
@PRAGMA_COLUMNS@
Packit 1ac44c
Packit 1ac44c
/* Include the original <ctype.h>.  */
Packit 1ac44c
/* The include_next requires a split double-inclusion guard.  */
Packit 1ac44c
#@INCLUDE_NEXT@ @NEXT_CTYPE_H@
Packit 1ac44c
Packit 1ac44c
#ifndef _@GUARD_PREFIX@_CTYPE_H
Packit 1ac44c
#define _@GUARD_PREFIX@_CTYPE_H
Packit 1ac44c
Packit 1ac44c
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
Packit 1ac44c
Packit 1ac44c
/* The definition of _GL_WARN_ON_USE is copied here.  */
Packit 1ac44c
Packit 1ac44c
/* Return non-zero if c is a blank, i.e. a space or tab character.  */
Packit 1ac44c
#if @GNULIB_ISBLANK@
Packit 1ac44c
# if !@HAVE_ISBLANK@
Packit 1ac44c
_GL_EXTERN_C int isblank (int c);
Packit 1ac44c
# endif
Packit 1ac44c
#elif defined GNULIB_POSIXCHECK
Packit 1ac44c
# undef isblank
Packit 1ac44c
# if HAVE_RAW_DECL_ISBLANK
Packit 1ac44c
_GL_WARN_ON_USE (isblank, "isblank is unportable - "
Packit 1ac44c
                 "use gnulib module isblank for portability");
Packit 1ac44c
# endif
Packit 1ac44c
#endif
Packit 1ac44c
Packit 1ac44c
#endif /* _@GUARD_PREFIX@_CTYPE_H */
Packit 1ac44c
#endif /* _@GUARD_PREFIX@_CTYPE_H */