diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-16 12:59:05 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-08-16 18:04:54 +0700 |
commit | 10d1cb9f3e515778e7841b61df4c6ad94c3d8352 (patch) | |
tree | c7b3f40f6e6ab7ea752886d9a1a2c441816fb5dc /system/include/compat/xlocale.h | |
parent | 4e0c5a89b387d5f4ca8248c8b31e2db136652a64 (diff) |
Add compat headers, move some things to them.
This is groundwork for landing musl includes which remove
some of the deprecated functions or very old BSDisms.
Diffstat (limited to 'system/include/compat/xlocale.h')
-rw-r--r-- | system/include/compat/xlocale.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/system/include/compat/xlocale.h b/system/include/compat/xlocale.h new file mode 100644 index 00000000..4bafa27d --- /dev/null +++ b/system/include/compat/xlocale.h @@ -0,0 +1,21 @@ +#ifndef _COMPAT_XLOCALE_H_ +#define _COMPAT_XLOCALE_H_ + +#include <locale.h> + +#ifdef __cplusplus +extern "C" { +#endif + +long long strtoll_l(const char *start, char **end, int base, locale_t loc); +unsigned long long strtoull_l(const char *start, char **end, int base, locale_t loc); +double strtold_l(const char *start, char **end, locale_t loc); + +#ifdef __cplusplus +} +#endif + +#include_next <xlocale.h> + +#endif /* _COMPAT_XLOCALE_H_ */ + |