From: Ove Kaaven Date: Tue, 13 Apr 1999 06:48:04 +0000 (+0000) Subject: wxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b7a5d6ca90e80cd842c448b8673b4164848ef1a5 wxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 0057aba271..85c6bfc716 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -133,12 +133,14 @@ int WXDLLEXPORT wxVsprintf(wxChar *buf, const wxChar *fmt, va_list argptr) } #endif -#ifdef wxNEED_WX_STDLIB_H +#ifndef wxAtof double WXDLLEXPORT wxAtof(const wxChar *psz) { return atof(wxConv_libc.cWX2MB(psz)); } +#endif +#ifdef wxNEED_WX_STDLIB_H int WXDLLEXPORT wxAtoi(const wxChar *psz) { return atoi(wxConv_libc.cWX2MB(psz));