mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 13:09:17 +02:00
* EMX and Watcom use .exe extension too
git-svn-id: trunk@20159 -
This commit is contained in:
parent
682299a647
commit
c8ff351634
@ -1950,7 +1950,7 @@ end;
|
|||||||
|
|
||||||
function AddProgramExtension(const ExecutableName: string; AOS : TOS): string;
|
function AddProgramExtension(const ExecutableName: string; AOS : TOS): string;
|
||||||
begin
|
begin
|
||||||
if AOS in [Go32v2,Win32,Win64,Wince,OS2] then
|
if AOS in [Go32v2,Win32,Win64,Wince,OS2,EMX,Watcom] then
|
||||||
Result:=ExecutableName+ExeExt
|
Result:=ExecutableName+ExeExt
|
||||||
else
|
else
|
||||||
Result:=ExecutableName;
|
Result:=ExecutableName;
|
||||||
|
Loading…
Reference in New Issue
Block a user