You've already forked lazarus-ccr
* Use cdecl instead of stdcall on non-Windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
unit nsThreadUtils;
|
||||
|
||||
{$MACRO on}
|
||||
|
||||
{$IFDEF Windows}
|
||||
{$DEFINE extdecl:=stdcall}
|
||||
{$ELSE Windows}
|
||||
{$DEFINE extdecl:=cdecl}
|
||||
{$ENDIF}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
@@ -91,7 +99,7 @@ type
|
||||
|
||||
nsIThreadEventFilter = interface(nsISupports)
|
||||
['{a0605c0b-17f5-4681-b8cd-a1cd75d42559}']
|
||||
function acceptEvent(aEvent: nsIRunnable): PRBool; stdcall;
|
||||
function acceptEvent(aEvent: nsIRunnable): PRBool; extdecl;
|
||||
end;
|
||||
|
||||
nsIThreadManager = interface(nsISupports)
|
||||
|
||||
Reference in New Issue
Block a user