Skip to content

Commit 31c5988

Browse files
committed
fixing build
1 parent d3ee5e9 commit 31c5988

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libcxx/include/locale

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ __num_get_signed_integral(const char* __a, const char* __a_end, ios_base::iostat
722722
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
723723
errno = 0;
724724
char* __p2;
725-
long long __ll = __locale::__strtoll(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
725+
long long __ll = __locale::__libcpp_strtoll(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
726726
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
727727
if (__current_errno == 0)
728728
errno = __save_errno;
@@ -754,7 +754,7 @@ __num_get_unsigned_integral(const char* __a, const char* __a_end, ios_base::iost
754754
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
755755
errno = 0;
756756
char* __p2;
757-
unsigned long long __ll = __locale::__strtoull(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
757+
unsigned long long __ll = __locale::__libcpp_strtoull(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
758758
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
759759
if (__current_errno == 0)
760760
errno = __save_errno;
@@ -779,17 +779,17 @@ _LIBCPP_HIDE_FROM_ABI _Tp __do_strtod(const char* __a, char** __p2);
779779

780780
template <>
781781
inline _LIBCPP_HIDE_FROM_ABI float __do_strtod<float>(const char* __a, char** __p2) {
782-
return __locale::__strtof(__a, __p2, _LIBCPP_GET_C_LOCALE);
782+
return __locale::__libcpp_strtof(__a, __p2, _LIBCPP_GET_C_LOCALE);
783783
}
784784

785785
template <>
786786
inline _LIBCPP_HIDE_FROM_ABI double __do_strtod<double>(const char* __a, char** __p2) {
787-
return __locale::__strtod(__a, __p2, _LIBCPP_GET_C_LOCALE);
787+
return __locale::__libcpp_strtod(__a, __p2, _LIBCPP_GET_C_LOCALE);
788788
}
789789

790790
template <>
791791
inline _LIBCPP_HIDE_FROM_ABI long double __do_strtod<long double>(const char* __a, char** __p2) {
792-
return __locale::__strtold(__a, __p2, _LIBCPP_GET_C_LOCALE);
792+
return __locale::__libcpp_strtold(__a, __p2, _LIBCPP_GET_C_LOCALE);
793793
}
794794

795795
template <class _Tp>

0 commit comments

Comments
 (0)