We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebf29ba commit 324127dCopy full SHA for 324127d
libcxx/include/__support/openbsd/xlocale.h
@@ -16,4 +16,24 @@
16
#include <ctype.h>
17
#include <cwctype>
18
19
+#ifdef __cplusplus
20
+extern "C" {
21
+#endif
22
+
23
24
+inline _LIBCPP_HIDE_FROM_ABI long
25
+strtol_l(const char *nptr, char **endptr, int base, locale_t) {
26
+ return ::strtol(nptr, endptr, base);
27
+}
28
29
+inline _LIBCPP_HIDE_FROM_ABI unsigned long
30
+strtoul_l(const char *nptr, char **endptr, int base, locale_t) {
31
+ return ::strtoul(nptr, endptr, base);
32
33
34
35
36
37
38
39
#endif
0 commit comments