mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +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;
|
||||
begin
|
||||
if AOS in [Go32v2,Win32,Win64,Wince,OS2] then
|
||||
if AOS in [Go32v2,Win32,Win64,Wince,OS2,EMX,Watcom] then
|
||||
Result:=ExecutableName+ExeExt
|
||||
else
|
||||
Result:=ExecutableName;
|
||||
|
Loading…
Reference in New Issue
Block a user