patch-include_locale 540 B

12345678910111213141516171819
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- uClibc++-0.2.1.orig/include/locale 2006-09-04 04:28:07.000000000 +0200
  3. +++ uClibc++-0.2.1/include/locale 2009-04-29 19:48:20.096785868 +0200
  4. @@ -19,6 +19,7 @@
  5. #include <basic_definitions>
  6. #include <cstddef>
  7. +#include <string>
  8. #ifndef __HEADER_STD_LOCALE
  9. #define __HEADER_STD_LOCALE 1
  10. @@ -56,6 +57,7 @@ namespace std{
  11. const locale& operator=(const locale&) throw(){
  12. return *this;
  13. }
  14. + std::string name() const { return "C"; }
  15. };
  16. class _UCXXEXPORT locale::facet {