Commit d16c72de authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msvcrt: Add a stub for _wsetlocale.

parent 20d5741f
......@@ -464,6 +464,19 @@ char* MSVCRT_setlocale(int category, const char* locale)
return MSVCRT_current_lc_all;
}
/*********************************************************************
* setlocale (MSVCRT.@)
*/
MSVCRT_wchar_t* MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* locale)
{
static MSVCRT_wchar_t fake[] = {
'E','n','g','l','i','s','h','_','U','n','i','t','e','d',' ',
'S','t','a','t','e','s','.','1','2','5','2',0 };
FIXME("%d %s\n", category, debugstr_w(locale));
return fake;
}
/*********************************************************************
* _Getdays (MSVCRT.@)
......
......@@ -541,7 +541,7 @@
@ cdecl _write(long ptr long)
@ cdecl _wrmdir(wstr)
@ stub _wsearchenv #(wstr wstr ptr)
@ stub _wsetlocale #(long wstr)
@ cdecl _wsetlocale(long wstr) MSVCRT__wsetlocale
@ varargs _wsopen (wstr long long) MSVCRT__wsopen
@ stub _wspawnl #(long wstr wstr) varargs
@ stub _wspawnle #(long wstr wstr) varargs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment