From b7a5d6ca90e80cd842c448b8673b4164848ef1a5 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Tue, 13 Apr 1999 06:48:04 +0000 Subject: [PATCH] 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 --- src/common/wxchar.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.50.0