From d8619de7c7ef5cf8dc9555e28126935cc59af4dd Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 14 Apr 2010 14:35:58 +0200 Subject: [PATCH] msvcr90: Implement _invalid_parameter_noinfo. --- dlls/msvcr80/msvcr80.spec | 2 +- dlls/msvcr90/Makefile.in | 2 ++ dlls/msvcr90/msvcr90.c | 9 +++++++++ dlls/msvcr90/msvcr90.spec | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec index ea5e65c6e34..46e7077e865 100644 --- a/dlls/msvcr80/msvcr80.spec +++ b/dlls/msvcr80/msvcr80.spec @@ -534,7 +534,7 @@ @ stub _inpd @ stub _inpw @ cdecl _invalid_parameter(wstr wstr wstr long long) msvcrt._invalid_parameter -@ stub _invalid_parameter_noinfo +@ cdecl _invalid_parameter_noinfo() msvcr90._invalid_parameter_noinfo @ stub _invoke_watson @ extern _iob msvcrt._iob @ stub _isalnum_l diff --git a/dlls/msvcr90/Makefile.in b/dlls/msvcr90/Makefile.in index 613edab40ca..6b311f6c1d8 100644 --- a/dlls/msvcr90/Makefile.in +++ b/dlls/msvcr90/Makefile.in @@ -4,6 +4,8 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = msvcr90.dll IMPORTS = msvcrt kernel32 +MODCFLAGS = @BUILTINFLAG@ +EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt C_SRCS = \ msvcr90.c diff --git a/dlls/msvcr90/msvcr90.c b/dlls/msvcr90/msvcr90.c index 0941443851c..9d037670b24 100644 --- a/dlls/msvcr90/msvcr90.c +++ b/dlls/msvcr90/msvcr90.c @@ -20,6 +20,7 @@ #include +#include "stdlib.h" #include "windef.h" #include "winbase.h" #include "wine/debug.h" @@ -99,6 +100,14 @@ int CDECL _initterm_e(_INITTERM_E_FN *table, _INITTERM_E_FN *end) return res; } +/********************************************************************* + * _invalid_parameter_noinfo (MSVCR90.@) + */ +void CDECL _invalid_parameter_noinfo(void) +{ + _invalid_parameter( NULL, NULL, NULL, 0, 0 ); +} + /********************************************************************* * __sys_nerr (MSVCR90.@) */ diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index 30822308104..1d7e13999ef 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -522,7 +522,7 @@ @ stub _inpd @ stub _inpw @ cdecl _invalid_parameter(wstr wstr wstr long long) msvcrt._invalid_parameter -@ stub _invalid_parameter_noinfo +@ cdecl _invalid_parameter_noinfo() @ stub _invoke_watson @ extern _iob msvcrt._iob @ stub _isalnum_l