diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c index 98c800c2bd3..146e0f31276 100644 --- a/dlls/msvcrt/file.c +++ b/dlls/msvcrt/file.c @@ -3079,6 +3079,15 @@ int CDECL MSVCRT_wprintf(const MSVCRT_wchar_t *format, ...) return res; } +/********************************************************************* + * _getmaxstdio (MSVCRT.@) + */ +int CDECL _getmaxstdio(void) +{ + FIXME("stub, always returns 512\n"); + return 512; +} + /********************************************************************* * __pioinfo (MSVCRT.@) * FIXME: see MSVCRT_MAX_FILES define. diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec index 5f4b61d98a4..6a467988543 100644 --- a/dlls/msvcrt/msvcrt.spec +++ b/dlls/msvcrt/msvcrt.spec @@ -260,7 +260,7 @@ @ cdecl _getdllprocaddr(long str long) @ cdecl _getdrive() @ cdecl _getdrives() kernel32.GetLogicalDrives -@ stub _getmaxstdio #() +@ cdecl _getmaxstdio() @ cdecl _getmbcp() @ cdecl _getpid() kernel32.GetCurrentProcessId @ stub _getsystime #(ptr)