mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
6e71208db3
commit
1a620acc17
@ -20,6 +20,7 @@ extern "C" {
|
||||
#include <locale.h>
|
||||
#include <runetype.h>
|
||||
#include <xlocale_private.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
extern struct xlocale_component __xlocale_global_collate;
|
||||
@ -64,4 +65,15 @@ char *setlocale(int, const char *)
|
||||
return (char*)"C";
|
||||
}
|
||||
|
||||
|
||||
locale_t newlocale(int, const char *locale, locale_t)
|
||||
{
|
||||
Genode::warning("cannot set \"", locale, "\" locale, not implemented");
|
||||
errno = ENOENT;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
void freelocale(locale_t) { }
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user