|
@@ -48,6 +48,7 @@ implementation
|
|
|
|
|
|
{$DEFINE FPC_FEXPAND_UNC} (* UNC paths are supported *)
|
|
{$DEFINE FPC_FEXPAND_UNC} (* UNC paths are supported *)
|
|
{$DEFINE FPC_FEXPAND_DRIVES} (* Full paths begin with drive specification *)
|
|
{$DEFINE FPC_FEXPAND_DRIVES} (* Full paths begin with drive specification *)
|
|
|
|
+{$DEFINE HAS_LOCALTIMEZONEOFFSET}
|
|
|
|
|
|
{$DEFINE executeprocuni} (* Only 1 byte version of ExecuteProcess is provided by the OS *)
|
|
{$DEFINE executeprocuni} (* Only 1 byte version of ExecuteProcess is provided by the OS *)
|
|
|
|
|
|
@@ -629,6 +630,8 @@ end;
|
|
Time Functions
|
|
Time Functions
|
|
****************************************************************************}
|
|
****************************************************************************}
|
|
|
|
|
|
|
|
+{$I tzenv.inc}
|
|
|
|
+
|
|
Procedure GetLocalTime(var SystemTime: TSystemTime);
|
|
Procedure GetLocalTime(var SystemTime: TSystemTime);
|
|
var
|
|
var
|
|
Regs: Registers;
|
|
Regs: Registers;
|
|
@@ -935,6 +938,7 @@ Initialization
|
|
InitExceptions; { Initialize exceptions. OS independent }
|
|
InitExceptions; { Initialize exceptions. OS independent }
|
|
InitInternational; { Initialize internationalization settings }
|
|
InitInternational; { Initialize internationalization settings }
|
|
OnBeep:=@SysBeep;
|
|
OnBeep:=@SysBeep;
|
|
|
|
+ InitTZ;
|
|
Finalization
|
|
Finalization
|
|
FreeTerminateProcs;
|
|
FreeTerminateProcs;
|
|
DoneExceptions;
|
|
DoneExceptions;
|