mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 07:39:27 +02:00
* SUBTARGET defines
This commit is contained in:
parent
126cc09037
commit
124834fe29
@ -4279,7 +4279,8 @@ procedure TPas2jsCompiler.SetSubTarget(AValue: String);
|
||||
begin
|
||||
if FSubTarget=AValue then Exit;
|
||||
FSubTarget:=AValue;
|
||||
//
|
||||
AddDefine('FPC_SUBTARGET',UPPERCASE(aValue));
|
||||
AddDefine('FPC_SUBTARGET_'+UPPERCASE(aValue));
|
||||
end;
|
||||
|
||||
function TPas2jsCompiler.CreateImportList: TJSSourceElements;
|
||||
|
Loading…
Reference in New Issue
Block a user