Ignore:
Timestamp:
Dec 7, 2011, 7:45:52 PM (14 years ago)
Author:
dmik
Message:

Fix Vio/Kbd/Mou declarations under GCC.

We abuse _Pascal for that. It's not very clear but other solutions
require a fix to OS/2 Toolkit headers...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/exceptions.cpp

    r21838 r21859  
    182182
    183183/*****************************************************************************
    184  * Name      : VOID _Pascal OS2RaiseException
     184 * Name      : VOID __cdecl OS2RaiseException
    185185 * Purpose   : Unwinds exception handlers (heavily influenced by Wine)
    186186 * Parameters: ...
     
    195195void WIN32API RtlRaiseException(WINEXCEPTION_RECORD *rec, WINCONTEXT *context);
    196196
    197 VOID _Pascal OS2RaiseException(DWORD dwExceptionCode,
     197VOID __cdecl OS2RaiseException(DWORD dwExceptionCode,
    198198                               DWORD dwExceptionFlags,
    199199                               DWORD cArguments,
     
    442442}
    443443/*****************************************************************************
    444  * Name      : int _Pascal OS2RtlUnwind
     444 * Name      : int __cdecl OS2RtlUnwind
    445445 * Purpose   : Unwinds exception handlers (heavily influenced by Wine)
    446446 * Parameters: ...
     
    453453 *****************************************************************************/
    454454
    455 int _Pascal OS2RtlUnwind(PWINEXCEPTION_FRAME  pEndFrame,
     455int __cdecl OS2RtlUnwind(PWINEXCEPTION_FRAME  pEndFrame,
    456456                         LPVOID unusedEip,
    457457                         PWINEXCEPTION_RECORD pRecord,
Note: See TracChangeset for help on using the changeset viewer.