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