1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

DAY_1 nl_langinfo constants don't require <nl_types.h>

There is an incorrect conditional compilation requirement that
<nl_types.h> be present for DAY_1 to be defined.  This doesn't
agree with the LSB and causes make check to fail on Cygwin.

* libguile/i18n.c [HAVE_NL_TYPES_H]: modify conditional compilatiion
This commit is contained in:
U-Cain\Mike 2010-06-17 13:31:28 -07:00
parent 9081209547
commit 24deb6d018

View file

@ -1682,7 +1682,7 @@ SCM_DEFINE (scm_nl_langinfo, "nl-langinfo", 1, 1, 0,
static inline void
define_langinfo_items (void)
{
#if (defined HAVE_NL_TYPES_H) && (defined HAVE_LANGINFO_H)
#ifdef HAVE_LANGINFO_H
#define DEFINE_NLITEM_CONSTANT(_item) \
scm_c_define (# _item, scm_from_int (_item))