Module: wine Branch: master Commit: 8ee96fec2b305fb57a8107c0a65fc73c58a096d9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ee96fec2b305fb57a8107c0a6...
Author: Piotr Caban piotr@codeweavers.com Date: Mon Dec 18 10:30:08 2017 +0100
msvcr71: Don't raise exception in _invalid_parameter.
Support for invalid parameter handler was added in msvcr80.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcrt/errno.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/errno.c b/dlls/msvcrt/errno.c index 45bc194..5693043 100644 --- a/dlls/msvcrt/errno.c +++ b/dlls/msvcrt/errno.c @@ -472,7 +472,7 @@ void __cdecl MSVCRT__invalid_parameter(const MSVCRT_wchar_t *expr, const MSVCRT_ else { ERR( "%s:%u %s: %s %lx\n", debugstr_w(file), line, debugstr_w(func), debugstr_w(expr), arg ); -#if _MSVCR_VER > 0 +#if _MSVCR_VER >= 80 RaiseException( STATUS_INVALID_CRUNTIME_PARAMETER, EXCEPTION_NONCONTINUABLE, 0, NULL ); #endif }