[PATCH 1/2] include: Add strtof and strtold

Alex Henrie alexhenrie24 at gmail.com
Tue May 1 23:52:00 CDT 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
For https://stackoverflow.com/questions/49397035/trying-to-use-winelib-with-standard-macos-build-tools-getting-strange-compiler

 include/msvcrt/stdlib.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/msvcrt/stdlib.h b/include/msvcrt/stdlib.h
index a3251878b0..2851e190d4 100644
--- a/include/msvcrt/stdlib.h
+++ b/include/msvcrt/stdlib.h
@@ -203,7 +203,9 @@ int           __cdecl rand(void);
 errno_t       __cdecl rand_s(unsigned int*);
 void*         __cdecl realloc(void*,size_t);
 void          __cdecl srand(unsigned int);
+float         __cdecl strtof(const char*,char**);
 double        __cdecl strtod(const char*,char**);
+double        __cdecl strtold(const char*,char**);
 __msvcrt_long __cdecl strtol(const char*,char**,int);
 __msvcrt_ulong __cdecl strtoul(const char*,char**,int);
 __int64       __cdecl _strtoi64(const char*,char**,int);
-- 
2.17.0




More information about the wine-devel mailing list