aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/xlocale.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/include/xlocale.h b/system/include/xlocale.h
index 1162f9b0..bb3b50e5 100644
--- a/system/include/xlocale.h
+++ b/system/include/xlocale.h
@@ -5,6 +5,10 @@
#include <string.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);
@@ -35,5 +39,9 @@ int towlower_l(wint_t wc, locale_t locale);
size_t strftime_l(char *s, size_t maxsize, const char *format, const struct tm *timeptr, locale_t locale);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _LOCALE_H_ */