mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 23:50:47 +02:00
Simplify i18n.c to require POSIX 2008 newlocale, uselocale
* libguile/i18n.c: Remove shim for pre-POSIX 2008, given that gnulib does appear to have newlocale/uselocale implementations. * libguile/posix.c: No USE_GNU_LOCALE_API define. * libguile/r6rs-ports.c: Remove stray include.
This commit is contained in:
parent
3f4048f6c8
commit
a5c70aa914
3 changed files with 29 additions and 460 deletions
|
@ -116,11 +116,7 @@ verify (WEXITSTATUS (W_EXITCODE (127, 0)) == 127);
|
|||
|
||||
#include <locale.h>
|
||||
|
||||
#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L)
|
||||
# define USE_GNU_LOCALE_API
|
||||
#endif
|
||||
|
||||
#if (defined USE_GNU_LOCALE_API) && (defined HAVE_XLOCALE_H)
|
||||
#ifdef HAVE_XLOCALE_H
|
||||
# include <xlocale.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue