Module: wine Branch: master Commit: 7d85693750b2eae2828c5c62f9da1a3751df0184 URL: https://gitlab.winehq.org/wine/wine/-/commit/7d85693750b2eae2828c5c62f9da1a3...
Author: Alex Henrie alexhenrie24@gmail.com Date: Thu Oct 20 08:56:25 2022 -0600
include: Add _putenv_s.
Needed to compile Tera Term.
---
include/msvcrt/stdlib.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/msvcrt/stdlib.h b/include/msvcrt/stdlib.h index a6e1c7eee02..c608344b115 100644 --- a/include/msvcrt/stdlib.h +++ b/include/msvcrt/stdlib.h @@ -178,6 +178,7 @@ _ACRTIMP int __cdecl _makepath_s(char*,size_t,const char*,const char*, _ACRTIMP size_t __cdecl _mbstrlen(const char*); _ACRTIMP _onexit_t __cdecl _onexit(_onexit_t); _ACRTIMP int __cdecl _putenv(const char*); +_ACRTIMP errno_t __cdecl _putenv_s(const char*,const char*); #ifndef _rotl _ACRTIMP unsigned int __cdecl _rotl(unsigned int,int); #endif