Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions libcxx/include/__locale_dir/support/linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,20 @@ inline _LIBCPP_HIDE_FROM_ABI long double __strtold(const char* __nptr, char** __
}

inline _LIBCPP_HIDE_FROM_ABI long long __strtoll(const char* __nptr, char** __endptr, int __base, __locale_t __loc) {
#if !defined(_LIBCPP_HAS_MUSL_LIBC)
return ::strtoll_l(__nptr, __endptr, __base, __loc);
#else
return ::strtoll(__nptr, __endptr, __base);
#endif
}

inline _LIBCPP_HIDE_FROM_ABI unsigned long long
__strtoull(const char* __nptr, char** __endptr, int __base, __locale_t __loc) {
#if !defined(_LIBCPP_HAS_MUSL_LIBC)
return ::strtoull_l(__nptr, __endptr, __base, __loc);
#else
return ::strtoull(__nptr, __endptr, __base);
#endif
}

//
Expand Down
Loading