deps: workaround stod() limitations on SmartOS · nodejs/node@b0d6742 · GitHub
Skip to content

Commit b0d6742

Browse files
cjihrigtargos
authored andcommitted
deps: workaround stod() limitations on SmartOS
std::stod() on SmartOS does not currently handle hex strings. This commit provides a workaround based on strtol() until proper stod() support is available. PR-URL: #36139 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
1 parent c8a658a commit b0d6742

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

common.gypi

Lines changed: 1 addition & 1 deletion

deps/v8/src/torque/torque-parser.cc

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)