Just always use strtod here

This commit is contained in:
Khaled Hosny 2017-03-22 23:07:15 +02:00
parent 539571c1a9
commit 91570a1eeb
1 changed files with 0 additions and 4 deletions

View File

@ -667,11 +667,7 @@ parse_float (const char **pp, const char *end, float *pv)
float v;
errno = 0;
#if defined (_MSC_VER) && (_MSC_VER < 1800)
v = strtod (p, &pend);
#else
v = strtof (p, &pend);
#endif
if (errno || p == pend)
return false;