]> git.saurik.com Git - wxWidgets.git/commitdiff
wcstod seems to be more widely available than wcstof
authorPaul Cornett <paulcor@bullseye.com>
Fri, 21 Sep 2007 02:48:56 +0000 (02:48 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 21 Sep 2007 02:48:56 +0000 (02:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxcrtbase.h

index 0afdc2ec5c15bd1ea7f9b69a5386370ce5d9efde..476fb654e7d264d1ff6a97e789d6f1253829e25c 100644 (file)
@@ -541,7 +541,7 @@ WXDLLIMPEXP_BASE wchar_t * wxCRT_GetenvW(const wchar_t *name);
     /* _wtof doesn't exist */
 #else
 #ifndef __VMS
-    #define wxCRT_AtofW(s)         wcstof(s, NULL)
+    #define wxCRT_AtofW(s)         wcstod(s, NULL)
 #endif
     #define wxCRT_AtolW(s)         wcstol(s, NULL, 10)
     /* wcstoi doesn't exist */