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