mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[FREELDR]
Fix broken release version svn path=/trunk/; revision=50655
This commit is contained in:
parent
92677eb087
commit
dca0c91ecc
|
@ -66,19 +66,6 @@ ULONG BaudRate = 115200;
|
|||
|
||||
BOOLEAN DebugStartOfLine = TRUE;
|
||||
|
||||
// We need to emulate these, because the original ones don't work in freeldr
|
||||
int __cdecl wctomb(char *mbchar, wchar_t wchar)
|
||||
{
|
||||
*mbchar = wchar;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int __cdecl mbtowc (wchar_t *wchar, const char *mbchar, size_t count)
|
||||
{
|
||||
*wchar = *mbchar;
|
||||
return 1;
|
||||
}
|
||||
|
||||
VOID DebugInit(VOID)
|
||||
{
|
||||
if (DebugPort & RS232)
|
||||
|
|
|
@ -53,3 +53,16 @@ VOID BootMain(LPSTR CmdLine)
|
|||
#endif
|
||||
RunLoader();
|
||||
}
|
||||
|
||||
// We need to emulate these, because the original ones don't work in freeldr
|
||||
int __cdecl wctomb(char *mbchar, wchar_t wchar)
|
||||
{
|
||||
*mbchar = wchar;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int __cdecl mbtowc (wchar_t *wchar, const char *mbchar, size_t count)
|
||||
{
|
||||
*wchar = *mbchar;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue