mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
Update Gnulib to v0.1-1157-gb03f418.
This commit is contained in:
parent
69ca2bb221
commit
7e641595cd
397 changed files with 1995 additions and 1095 deletions
|
@ -1,6 +1,6 @@
|
|||
/* A substitute for ISO C99 <wctype.h>, for platforms that lack it.
|
||||
|
||||
Copyright (C) 2006-2016 Free Software Foundation, Inc.
|
||||
Copyright (C) 2006-2017 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
|
@ -25,13 +25,25 @@
|
|||
* wctrans_t, and wctype_t are not yet implemented.
|
||||
*/
|
||||
|
||||
#ifndef _@GUARD_PREFIX@_WCTYPE_H
|
||||
|
||||
#if __GNUC__ >= 3
|
||||
@PRAGMA_SYSTEM_HEADER@
|
||||
#endif
|
||||
@PRAGMA_COLUMNS@
|
||||
|
||||
#if (defined __MINGW32__ && defined __CTYPE_H_SOURCED__)
|
||||
|
||||
/* Special invocation convention:
|
||||
- With MinGW 3.22, when <ctype.h> includes <wctype.h>, only some part of
|
||||
<wctype.h> is being processed, which doesn't include the idempotency
|
||||
guard. */
|
||||
|
||||
#@INCLUDE_NEXT@ @NEXT_WCTYPE_H@
|
||||
|
||||
#else
|
||||
/* Normal invocation convention. */
|
||||
|
||||
#ifndef _@GUARD_PREFIX@_WCTYPE_H
|
||||
|
||||
#if @HAVE_WINT_T@
|
||||
/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.
|
||||
Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
|
||||
|
@ -93,10 +105,10 @@ _GL_INLINE_HEADER_BEGIN
|
|||
# define WEOF -1
|
||||
# endif
|
||||
#else
|
||||
/* MSVC defines wint_t as 'unsigned short' in <crtdefs.h>.
|
||||
/* mingw and MSVC define wint_t as 'unsigned short' in <crtdefs.h>.
|
||||
This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be
|
||||
"unchanged by default argument promotions". Override it. */
|
||||
# if defined _MSC_VER
|
||||
# if @GNULIB_OVERRIDES_WINT_T@
|
||||
# if !GNULIB_defined_wint_t
|
||||
# include <crtdefs.h>
|
||||
typedef unsigned int rpl_wint_t;
|
||||
|
@ -512,3 +524,4 @@ _GL_INLINE_HEADER_END
|
|||
|
||||
#endif /* _@GUARD_PREFIX@_WCTYPE_H */
|
||||
#endif /* _@GUARD_PREFIX@_WCTYPE_H */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue