Ticket #6439: boost_po_compile_w_NO_STD_LOCALE.patch

File boost_po_compile_w_NO_STD_LOCALE.patch, 593 bytes (added by leutloff@…, 11 years ago)
  • libs/program_options/src/convert.cpp

     
    125125        return to_8_bit(s, utf8_facet);
    126126    }
    127127
     128#ifndef BOOST_NO_STD_LOCALE
    128129    BOOST_PROGRAM_OPTIONS_DECL std::wstring
    129130    from_local_8_bit(const std::string& s)
    130131    {
     
    141142                        BOOST_USE_FACET(facet_type, locale()));                       
    142143    }
    143144#endif
     145#endif
    144146
    145147    namespace program_options
    146148    {