committed by
Norman Feske
parent
6e71208db3
commit
1a620acc17
@@ -20,6 +20,7 @@ extern "C" {
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <runetype.h>
|
#include <runetype.h>
|
||||||
#include <xlocale_private.h>
|
#include <xlocale_private.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
||||||
extern struct xlocale_component __xlocale_global_collate;
|
extern struct xlocale_component __xlocale_global_collate;
|
||||||
@@ -64,4 +65,15 @@ char *setlocale(int, const char *)
|
|||||||
return (char*)"C";
|
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) { }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user