i18n: Ignore LC_MESSAGES on MinGW.
authorLudovic Courtès <ludo@gnu.org>
Wed, 11 Jun 2014 12:54:21 +0000 (14:54 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 11 Jun 2014 12:54:21 +0000 (14:54 +0200)
commitc84f25bccebb1ba557ace597370d88bc8f5382e6
tree0a04e9d2eae66dee30d4219a7763cac5886f8c87
parent82b8cfa40cbaea1ef2b8053af574c6d84f2705bc
i18n: Ignore LC_MESSAGES on MinGW.

* libguile/locale-categories.h (MESSAGES): Add condition on
  !(defined(LC_MAX) && LC_MESSAGES > LC_MAX).
* test-suite/tests/i18n.test ("locale objects")["make-locale (2 args,
  list)", "make-locale (3 args)", "locale?"]: Use LC_NUMERIC or LC_TIME
  instead of LC_MESSAGES.

Co-authored-by: Eli Zaretskii <eliz@gnu.org>
libguile/locale-categories.h
test-suite/tests/i18n.test