Add Platform Control
This commit is contained in:
@@ -5,11 +5,12 @@ unit Fasm4Delphi platform;
|
|||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
//{$Define FasmStaticLink}
|
||||||
|
{$IFDEF WIN32}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Windows;
|
Windows;
|
||||||
|
|
||||||
//{$Define FasmStaticLink}
|
|
||||||
|
|
||||||
type
|
type
|
||||||
TFasmVersion=packed record
|
TFasmVersion=packed record
|
||||||
V1,V2:word;
|
V1,V2:word;
|
||||||
@@ -113,9 +114,11 @@ var
|
|||||||
procedure LoadFASM(Name:string=FASMDLLName);
|
procedure LoadFASM(Name:string=FASMDLLName);
|
||||||
procedure FreeFASM;
|
procedure FreeFASM;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
{$IFDEF WIN32}
|
||||||
{$IFNDEF FasmStaticLink}
|
{$IFNDEF FasmStaticLink}
|
||||||
var
|
var
|
||||||
&Library:THandle=0;
|
&Library:THandle=0;
|
||||||
@@ -147,5 +150,6 @@ fasm_AssembleFile:=nil;
|
|||||||
&Library:=0;
|
&Library:=0;
|
||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|||||||
Reference in New Issue
Block a user