Commit b7ce75e9 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wincon.h: Don't use calling convention wrappers on MSVC.

parent 59336f2f
......@@ -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. */
......
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