mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix compilation of `libguile-i18n' on MinGW.
* libguile/locale-categories.h (MESSAGES): Enclose in `#ifdef LC_MESSAGES' as it's not available on MinGW. Reported by Han-Wen.
This commit is contained in:
parent
7ddb9baf80
commit
c5cd474d8c
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2006 Free Software Foundation, Inc.
|
/* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -21,7 +21,12 @@
|
||||||
/* The six standard categories, as defined in IEEE Std 1003.1-2001. */
|
/* The six standard categories, as defined in IEEE Std 1003.1-2001. */
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (COLLATE)
|
SCM_DEFINE_LOCALE_CATEGORY (COLLATE)
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (CTYPE)
|
SCM_DEFINE_LOCALE_CATEGORY (CTYPE)
|
||||||
|
|
||||||
|
#ifdef LC_MESSAGES
|
||||||
|
/* MinGW doesn't have `LC_MESSAGES'. */
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (MESSAGES)
|
SCM_DEFINE_LOCALE_CATEGORY (MESSAGES)
|
||||||
|
#endif
|
||||||
|
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (MONETARY)
|
SCM_DEFINE_LOCALE_CATEGORY (MONETARY)
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (NUMERIC)
|
SCM_DEFINE_LOCALE_CATEGORY (NUMERIC)
|
||||||
SCM_DEFINE_LOCALE_CATEGORY (TIME)
|
SCM_DEFINE_LOCALE_CATEGORY (TIME)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue