Commit Graph

4 Commits

Author SHA1 Message Date
Gregory Nutt 14ae6df182 locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
David Sidrane b1ed7910f0 Allows c++ code to compile with or without CONFIG_LIBC_LOCALE
and will generate a link error if CONFIG_LIBC_LOCALE is not defined
and setlocale is referneced. With CONFIG_LIBC_LOCALE defined
setlocale will act as if MB string is not supported and return
"C" for POSIX. C and ""
2016-10-19 06:49:19 -10:00
Gregory Nutt c73d3e9c5f Remove comments that no longer apply. clocale should not do anyting if CONFIG_LIBC_LOCALE is not defined. 2016-10-19 07:06:43 -06:00
Gregory Nutt 626408bc29 C Library: Add clocale header file 2016-10-18 07:52:22 -06:00