mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 18:08:08 +02:00
* make LastOSError accessible earlier
git-svn-id: trunk@29001 -
This commit is contained in:
parent
0a74c30351
commit
fa89dca059
@ -44,6 +44,9 @@ type
|
||||
(* Necessary here due to a different definition of TDateTime in DosCalls. *)
|
||||
TDateTime = System.TDateTime;
|
||||
|
||||
threadvar
|
||||
LastOSError: cardinal;
|
||||
|
||||
{$DEFINE FPC_FEXPAND_UNC} (* UNC paths are supported *)
|
||||
{$DEFINE FPC_FEXPAND_DRIVES} (* Full paths begin with drive specification *)
|
||||
{$DEFINE FPC_FEXPAND_GETENV_PCHAR}
|
||||
@ -940,9 +943,6 @@ begin
|
||||
{$NOTE GetTickCount64 takes 20 microseconds on 1GHz CPU, GetTickCount not measurable}
|
||||
end;
|
||||
|
||||
threadvar
|
||||
LastOSError: cardinal;
|
||||
|
||||
const
|
||||
OrigOSErrorWatch: TOSErrorWatch = nil;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user