From 28e8609dd7177ef09fbbf211ede76ea895529a3d Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sat, 11 Jul 1998 20:51:07 +0300 Subject: generic Configure mods and HAS_GROUP additions to help MiNT/MPEix/MVS Message-Id: <199807111451.RAA27010@alpha.hut.fi> Subject: M3 "generic" parts p4raw-id: //depot/perl@1451 --- ext/POSIX/POSIX.xs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/POSIX') diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index f48b792d2d..88aac25868 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -2962,9 +2962,11 @@ localeconv() if (lcbuf->thousands_sep && *lcbuf->thousands_sep) hv_store(RETVAL, "thousands_sep", 13, newSVpv(lcbuf->thousands_sep, 0), 0); +#ifndef NO_LOCALECONV_GROUPING if (lcbuf->grouping && *lcbuf->grouping) hv_store(RETVAL, "grouping", 8, newSVpv(lcbuf->grouping, 0), 0); +#endif if (lcbuf->int_curr_symbol && *lcbuf->int_curr_symbol) hv_store(RETVAL, "int_curr_symbol", 15, newSVpv(lcbuf->int_curr_symbol, 0), 0); @@ -2979,9 +2981,11 @@ localeconv() hv_store(RETVAL, "mon_thousands_sep", 17, newSVpv(lcbuf->mon_thousands_sep, 0), 0); #endif +#ifndef NO_LOCALECONV_MON_GROUPING if (lcbuf->mon_grouping && *lcbuf->mon_grouping) hv_store(RETVAL, "mon_grouping", 12, newSVpv(lcbuf->mon_grouping, 0), 0); +#endif if (lcbuf->positive_sign && *lcbuf->positive_sign) hv_store(RETVAL, "positive_sign", 13, newSVpv(lcbuf->positive_sign, 0), 0); -- cgit v1.2.1