diff options
Diffstat (limited to 'plugins/Utils.pas/syswin.pas')
-rw-r--r-- | plugins/Utils.pas/syswin.pas | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Utils.pas/syswin.pas b/plugins/Utils.pas/syswin.pas index 082e1444d5..361404cc11 100644 --- a/plugins/Utils.pas/syswin.pas +++ b/plugins/Utils.pas/syswin.pas @@ -62,7 +62,11 @@ function ExecuteWaitW(AppPath:PWideChar; CmdLine:PWideChar=nil; DfltDirectory:PW var
flags: dword;
{$IFDEF FPC}
+ {$IFDEF VER2}
Startup: StartupInfo;
+ {$ELSE}
+ Startup: StartupInfoW;
+ {$ENDIF}
{$ELSE}
Startup: StartupInfoW;
{$ENDIF}
@@ -125,7 +129,11 @@ function ExecuteWait(AppPath:PAnsiChar; CmdLine:PAnsiChar=nil; DfltDirectory:PAn var
flags: dword;
{$IFDEF FPC}
+ {$IFDEF VER2}
Startup: StartupInfo;
+ {$ELSE}
+ Startup: StartupInfoA;
+ {$ENDIF}
{$ELSE}
Startup: StartupInfoA;
{$ENDIF}
|