|
@@ -47,6 +47,7 @@ implementation
|
|
|
|
|
|
{$DEFINE FPC_FEXPAND_UNC} (* UNC paths are supported *)
|
|
|
{$DEFINE FPC_FEXPAND_DRIVES} (* Full paths begin with drive specification *)
|
|
|
+{$DEFINE HAS_LOCALTIMEZONEOFFSET}
|
|
|
|
|
|
{ Include platform independent implementation part }
|
|
|
{$i sysutils.inc}
|
|
@@ -644,6 +645,8 @@ end;
|
|
|
Time Functions
|
|
|
****************************************************************************}
|
|
|
|
|
|
+{$I tzenv.inc}
|
|
|
+
|
|
|
Procedure GetLocalTime(var SystemTime: TSystemTime);
|
|
|
var
|
|
|
Regs: Registers;
|
|
@@ -667,8 +670,16 @@ end ;
|
|
|
Misc Functions
|
|
|
****************************************************************************}
|
|
|
|
|
|
+const
|
|
|
+ BeepChars: array [1..2] of char = #7'$';
|
|
|
+
|
|
|
procedure sysBeep;
|
|
|
+var
|
|
|
+ Regs: Registers;
|
|
|
begin
|
|
|
+ Regs.dx := Ofs (BeepChars);
|
|
|
+ Regs.ah := 9;
|
|
|
+ MsDos (Regs);
|
|
|
end;
|
|
|
|
|
|
|
|
@@ -916,6 +927,7 @@ end;
|
|
|
Initialization
|
|
|
InitExceptions; { Initialize exceptions. OS independent }
|
|
|
InitInternational; { Initialize internationalization settings }
|
|
|
+ InitTZ;
|
|
|
OnBeep:=@SysBeep;
|
|
|
Finalization
|
|
|
FreeTerminateProcs;
|