commit | 9242af7a38865c6fe06f26a158c1ab59c79f3628 | [log] [tgz] |
---|---|---|
author | Steve Lhomme <robux4@ycbcr.xyz> | Wed Apr 29 15:37:38 2020 +0200 |
committer | Liu Hao <lh_mouse@126.com> | Wed Apr 29 22:41:06 2020 +0800 |
tree | ac93ccfd87bee3c5a6723efb0e66e68bd3c53caa | |
parent | 76938aee3c99479496c547d36370ee58018cd668 [diff] |
headers: crt: disable _resetstkoflw in UWP builds It is not allowed. https://docs.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/crt/malloc.h b/mingw-w64-headers/crt/malloc.h index 9d75ea6..24e3e56 100644 --- a/mingw-w64-headers/crt/malloc.h +++ b/mingw-w64-headers/crt/malloc.h
@@ -107,7 +107,9 @@ #define _MAX_WAIT_MALLOC_CRT 60000 +#ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP _CRTIMP int __cdecl _resetstkoflw (void); +#endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */ _CRTIMP unsigned long __cdecl _set_malloc_crt_max_wait(unsigned long _NewValue); _CRTIMP void *__cdecl _expand(void *_Memory,size_t _NewSize);