mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +02:00
* minor update of the GetLastOSError support infrastructure
git-svn-id: trunk@29179 -
This commit is contained in:
parent
c3fbfcb27b
commit
1dceddc302
@ -977,8 +977,7 @@ Initialization
|
||||
InitInternational; { Initialize internationalization settings }
|
||||
OnBeep:=@SysBeep;
|
||||
LastOSError := 0;
|
||||
OrigOSErrorWatch := OSErrorWatch;
|
||||
SetOSErrorTracking (@TrackLastOSError);
|
||||
OrigOSErrorWatch := TOSErrorWatch (SetOSErrorTracking (@TrackLastOSError));
|
||||
Finalization
|
||||
DoneExceptions;
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user