diff --git a/src/kernel/libroot/posix/locale/Jamfile b/src/kernel/libroot/posix/locale/Jamfile index 3944676954..a929dc8075 100644 --- a/src/kernel/libroot/posix/locale/Jamfile +++ b/src/kernel/libroot/posix/locale/Jamfile @@ -1,7 +1,8 @@ SubDir OBOS_TOP src kernel libroot posix locale ; KernelMergeObject posix_locale.o : - <$(SOURCE_GRIST)>ctype.c - <$(SOURCE_GRIST)>localeconv.c + ctype.c + localeconv.c + setlocale.c : -fPIC -DPIC ; diff --git a/src/kernel/libroot/posix/locale/setlocale.c b/src/kernel/libroot/posix/locale/setlocale.c new file mode 100644 index 0000000000..4dea430f1e --- /dev/null +++ b/src/kernel/libroot/posix/locale/setlocale.c @@ -0,0 +1,16 @@ +/* +** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the Haiku License. +*/ + + +#include +#include + + +char * +setlocale(int category, const char *locale) +{ + // ToDo: this should check if liblocale.so is available and use its functions + return NULL; +}