langinfo-windows.patch 992 B

123456789101112131415161718192021222324252627
  1. --- contrib/tools/m4/lib/nl_langinfo.c (index)
  2. +++ contrib/tools/m4/lib/nl_langinfo.c (working tree)
  3. @@ -171,8 +171,6 @@ nl_langinfo (nl_item item)
  4. return localeconv () ->decimal_point;
  5. case THOUSEP:
  6. return localeconv () ->thousands_sep;
  7. - case GROUPING:
  8. - return localeconv () ->grouping;
  9. /* nl_langinfo items of the LC_TIME category.
  10. TODO: Really use the locale. */
  11. case D_T_FMT:
  12. @@ -279,6 +277,7 @@ nl_langinfo (nl_item item)
  13. /* nl_langinfo items of the LC_MONETARY category. */
  14. case CRNCYSTR:
  15. return localeconv () ->currency_symbol;
  16. +#if 0
  17. case INT_CURR_SYMBOL:
  18. return localeconv () ->int_curr_symbol;
  19. case MON_DECIMAL_POINT:
  20. @@ -307,6 +306,7 @@ nl_langinfo (nl_item item)
  21. return & localeconv () ->p_sign_posn;
  22. case N_SIGN_POSN:
  23. return & localeconv () ->n_sign_posn;
  24. +#endif
  25. /* nl_langinfo items of the LC_MESSAGES category
  26. TODO: Really use the locale. */
  27. case YESEXPR: