Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/stdlib.h')
-rw-r--r--winsup/mingw/include/stdlib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h
index 0d6cf60be..693185c07 100644
--- a/winsup/mingw/include/stdlib.h
+++ b/winsup/mingw/include/stdlib.h
@@ -307,11 +307,13 @@ _CRTIMP long __cdecl __MINGW_NOTHROW atol (const char*);
_CRTIMP int __cdecl __MINGW_NOTHROW _wtoi (const wchar_t *);
_CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *);
#endif
-_CRTIMP double __cdecl __MINGW_NOTHROW _strtod (const char*, char**);
#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
float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
+#else
+_CRTIMP double __cdecl __MINGW_NOTHROW strtod (const char*, char**);
#endif /* __NO_ISOCEXT */
_CRTIMP long __cdecl __MINGW_NOTHROW strtol (const char*, char**, int);