diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 06:31:04 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-22 06:31:04 -0600 |
| commit | c96a3427f890ab9ba5e852651970a4df6dfa7709 (patch) | |
| tree | d0596e9bd3602646211843cfdb4b15261eb5d0c6 /runtime/src/thread_stacks.cpp | |
| parent | 99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff) | |
shader_library: parse JSON numbers without floating-point from_chars
Apple's libc++ (Xcode Command Line Tools 17) does not provide the floating-point std::from_chars overload, so the runtime does not build on macOS. Parse the token with strtod instead, keeping the full-token and ERANGE checks so malformed or out-of-range JSON numbers are still refused. No game files.
Verified with shader_library_test on Windows/MSVC (1/1 and direct run).
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions