Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
No strtold on Android, so use strtod instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim committed Feb 28, 2014
1 parent 8ee4db7 commit ab127d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/stdc/stdlib.d
Expand Up @@ -73,6 +73,13 @@ else version (MinGW)
real __mingw_strtold(in char* nptr, char** endptr);
alias __mingw_strtold strtold;
}
else version (Android)
{
real strtold(in char* nptr, char** endptr)
{ // Fake it again till we make it
return strtod(nptr, endptr);
}
}
else
{
real strtold(in char* nptr, char** endptr);
Expand Down

0 comments on commit ab127d9

Please sign in to comment.