提交 91570a1e 编写于 作者: K Khaled Hosny

Just always use strtod here

上级 539571c1
...@@ -667,11 +667,7 @@ parse_float (const char **pp, const char *end, float *pv) ...@@ -667,11 +667,7 @@ parse_float (const char **pp, const char *end, float *pv)
float v; float v;
errno = 0; errno = 0;
#if defined (_MSC_VER) && (_MSC_VER < 1800)
v = strtod (p, &pend); v = strtod (p, &pend);
#else
v = strtof (p, &pend);
#endif
if (errno || p == pend) if (errno || p == pend)
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册