summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/wcstof.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/wcstof.c')
-rw-r--r--winsup/mingw/mingwex/wcstof.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/wcstof.c b/winsup/mingw/mingwex/wcstof.c
new file mode 100644
index 000000000..830f79416
--- /dev/null
+++ b/winsup/mingw/mingwex/wcstof.c
@@ -0,0 +1,6 @@
+#include <wchar.h>
+
+float wcstof( const wchar_t *nptr, wchar_t **endptr)
+{
+ return (wcstod(nptr, endptr));
+}