mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
calculator: Fix compile issue in mingw32
Change-Id: I7d70b4f0d6fd574575298b0709e78b9096801c07
This commit is contained in:
parent
74ded2bdd7
commit
57a47ef67a
1 changed files with 4 additions and 0 deletions
|
@ -732,12 +732,15 @@ static void oneOperand(void);
|
|||
static void drawLines(void);
|
||||
static void drawButtons(int group);
|
||||
|
||||
#ifndef _WIN32
|
||||
double strtod(const char *nptr, char **endptr);
|
||||
#endif
|
||||
long long atoll(const char *nptr);
|
||||
|
||||
/* -----------------------------------------------------------------------
|
||||
Standard library function
|
||||
----------------------------------------------------------------------- */
|
||||
#ifndef _WIN32
|
||||
double strtod(const char *nptr, char **endptr)
|
||||
{
|
||||
double out;
|
||||
|
@ -774,6 +777,7 @@ double strtod(const char *nptr, char **endptr)
|
|||
*endptr=(char *) nptr;
|
||||
return out;
|
||||
}
|
||||
#endif
|
||||
|
||||
// WARNING Unsafe: Use strtoll instead
|
||||
long long atoll(const char *nptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue