summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/stdlib.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-11-26 00:11:06 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-11-26 00:11:06 +0000
commit5362be5926f9b07cb8c61fc10e0ed4485fc8bf86 (patch)
tree6759ce6b8c7e1d2112b9545e7f26a3ea1155b5df /winsup/mingw/include/stdlib.h
parent4e85569d1146c519fdb51758df7d8ca5c92e4311 (diff)
downloadcygnal-5362be5926f9b07cb8c61fc10e0ed4485fc8bf86.tar.gz
cygnal-5362be5926f9b07cb8c61fc10e0ed4485fc8bf86.tar.bz2
cygnal-5362be5926f9b07cb8c61fc10e0ed4485fc8bf86.zip
Add strtold and wcstold to libmingwex.a
* mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. Add missing ChangeLog entry for 2002-11-09.
Diffstat (limited to 'winsup/mingw/include/stdlib.h')
-rw-r--r--winsup/mingw/include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h
index 30ff29c63..349249e8c 100644
--- a/winsup/mingw/include/stdlib.h
+++ b/winsup/mingw/include/stdlib.h
@@ -324,6 +324,7 @@ double strtod (const char*, char**);
#if !defined __NO_ISOCEXT /* extern stubs in static libmingwex.a */
extern __inline__ float strtof (const char *nptr, char **endptr)
{ return (strtod (nptr, endptr));}
+long double strtold (const char * __restrict__, char ** __restrict__);
#endif /* __NO_ISOCEXT */
long strtol (const char*, char**, int);
@@ -335,6 +336,7 @@ double wcstod (const wchar_t*, wchar_t**);
#if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
extern __inline__ float wcstof( const wchar_t *nptr, wchar_t **endptr)
{ return (wcstod(nptr, endptr)); }
+long double wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__);
#endif /* __NO_ISOCEXT */
long wcstol (const wchar_t*, wchar_t**, int);