6 # define __USE_GNU 1 /* Enables YESSTR, otherwise only __YESSTR. */
10 #include "const-c.inc"
12 MODULE = I18N::Langinfo PACKAGE = I18N::Langinfo
22 #ifdef HAS_NL_LANGINFO
26 if ((s = nl_langinfo(code)))
27 RETVAL = newSVpvn(s, strlen(s));
29 RETVAL = &PL_sv_undef;
32 croak("nl_langinfo() not implemented on this architecture");