Skip to content
Snippets Groups Projects
Commit 8dff1f0f 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 b0252d73
No related branches found
No related tags found
No related merge requests found
Pipeline #5805 passed
......@@ -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.
Please register or to comment