mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 05:25:58 +02:00
* fixed compilation of win16 in medium memory model
git-svn-id: trunk@37697 -
This commit is contained in:
parent
08062a2eb4
commit
9e6209db3a
@ -249,7 +249,7 @@ begin
|
|||||||
Writeln(debug_output,'Dos command line is #',CmdLine,'#');
|
Writeln(debug_output,'Dos command line is #',CmdLine,'#');
|
||||||
{$EndIf}
|
{$EndIf}
|
||||||
{ find argv0len }
|
{ find argv0len }
|
||||||
argv0len:=GetModuleFileName(hInstance,@argv0_arr,SizeOf(argv0_arr));
|
argv0len:=GetModuleFileName(hInstance,FarAddr(argv0_arr),SizeOf(argv0_arr));
|
||||||
{$IfDef SYSTEM_DEBUG_STARTUP}
|
{$IfDef SYSTEM_DEBUG_STARTUP}
|
||||||
Writeln(debug_output,'arv0 is #',argv0_arr,'# len=', argv0len);
|
Writeln(debug_output,'arv0 is #',argv0_arr,'# len=', argv0len);
|
||||||
{$EndIf}
|
{$EndIf}
|
||||||
|
Loading…
Reference in New Issue
Block a user