Browse Source

arosunits: add some temporary kludge so it compiles at least on x86_64

git-svn-id: trunk@31176 -
Károly Balogh 10 years ago
parent
commit
eda311c0b3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/arosunits/src/intuition.pas

+ 4 - 0
packages/arosunits/src/intuition.pas

@@ -3423,7 +3423,11 @@ var
   ArgList: TArgList;
   ArgList: TArgList;
 begin
 begin
   AddArguments(ArgList, Args);
   AddArguments(ArgList, Args);
+{$ifdef i386}
   Result := DoGadgetMethodA(Gad, Win, Req, TMsg(ArgList));
   Result := DoGadgetMethodA(Gad, Win, Req, TMsg(ArgList));
+{$else}
+{$warning fix me!}
+{$endif}
 end;
 end;
 
 
 function EasyRequest(Window: PWindow; EasyStruct: PEasyStruct; IDCMP_Ptr: PLongWord; const Args: array of const): LongInt;
 function EasyRequest(Window: PWindow; EasyStruct: PEasyStruct; IDCMP_Ptr: PLongWord; const Args: array of const): LongInt;