Skip to content
Snippets Groups Projects
Commit 5acc037d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Re-enabled use of strtold() for long doubles... it is likely

ubiquitous now (except for Borland of course, which doesn't count)
parent 76b6bca8
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -1067,8 +1067,11 @@ char* xp_asprintf_next(char *format, int type, ...)
break;
#endif
case XP_PRINTF_TYPE_CHARP:
/* strtold() isn't ubiquitous yet */
#if defined(__BORLANDC__)
ld=strtod(cp, NULL);
#else
ld=strtold(cp, NULL);
#endif
break;
case XP_PRINTF_TYPE_DOUBLE:
ld=d;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment