2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
* include/stdlib.h: Fix strtod under C++.
This commit is contained in:
parent
b61251603a
commit
262059a0d8
|
@ -1,3 +1,7 @@
|
||||||
|
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
|
||||||
|
|
||||||
|
* include/stdlib.h: Fix strtod under C++.
|
||||||
|
|
||||||
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
|
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
|
||||||
|
|
||||||
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
|
* mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
|
||||||
|
|
|
@ -309,7 +309,13 @@ _CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *);
|
||||||
#endif
|
#endif
|
||||||
#if !defined __NO_ISOCEXT /* in libmingwex.a */
|
#if !defined __NO_ISOCEXT /* in libmingwex.a */
|
||||||
double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
|
double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
|
||||||
#define strtod __strtod
|
#ifdef __cplusplus
|
||||||
|
/* We require a function with external linkage. */
|
||||||
|
#else
|
||||||
|
static
|
||||||
|
#endif /* Not __cplusplus */
|
||||||
|
inline double __cdecl __MINGW_NOTHROW strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr)
|
||||||
|
{ return __strtod(__nptr, __endptr); }
|
||||||
float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
|
float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
|
||||||
long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
|
long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue