wincon.h: Don't use calling convention wrappers on MSVC.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
59336f2ff2
commit
b7ce75e989
|
@ -1802,7 +1802,7 @@ static COORD get_console_font_size(HANDLE hConsole, DWORD index)
|
|||
return c;
|
||||
}
|
||||
|
||||
#if defined(__i386__) && !defined(__MINGW32__)
|
||||
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
#undef GetConsoleFontSize
|
||||
DWORD WINAPI GetConsoleFontSize(HANDLE hConsole, DWORD index)
|
||||
{
|
||||
|
|
|
@ -577,7 +577,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetConsoleTitleW( LPWSTR title, DWORD size )
|
|||
/***********************************************************************
|
||||
* GetLargestConsoleWindowSize (kernelbase.@)
|
||||
*/
|
||||
#if defined(__i386__) && !defined(__MINGW32__)
|
||||
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
#undef GetLargestConsoleWindowSize
|
||||
DWORD WINAPI DECLSPEC_HOTPATCH GetLargestConsoleWindowSize( HANDLE handle )
|
||||
{
|
||||
|
|
|
@ -268,7 +268,7 @@ typedef struct tagINPUT_RECORD
|
|||
|
||||
#define CONSOLE_TEXTMODE_BUFFER 1
|
||||
|
||||
#if defined(__i386__) && !defined(__MINGW32__)
|
||||
#if defined(__i386__) && !defined(__MINGW32__) && !defined(_MSC_VER)
|
||||
/* Note: this should return a COORD, but calling convention for returning
|
||||
* structures is different between Windows and gcc on i386. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue