mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 14:27:59 +02:00
* Fixed tzseconds problem. I hope.
git-svn-id: trunk@788 -
This commit is contained in:
parent
a2fd319a20
commit
1c9e6e4a24
@ -54,7 +54,10 @@ Procedure AddDisk(const path:string);
|
||||
Implementation
|
||||
|
||||
Uses
|
||||
Strings,Unix,BaseUnix,{$ifdef FPC_USE_LIBC}initc{$ELSE}Syscall{$ENDIF};
|
||||
UnixUtil, // tzSeconds
|
||||
Strings,
|
||||
Unix,
|
||||
BaseUnix,{$ifdef FPC_USE_LIBC}initc{$ELSE}Syscall{$ENDIF};
|
||||
|
||||
{$DEFINE HAS_GETMSCOUNT}
|
||||
|
||||
|
@ -24,9 +24,10 @@ Uses BaseUnix,UnixType;
|
||||
|
||||
// We init to zero to be able to put timezone stuff under IFDEF, and still
|
||||
// keep the code working.
|
||||
// We can't do this hear, since unixutil functions access this.
|
||||
|
||||
var
|
||||
Tzseconds : Longint = 0;
|
||||
// var
|
||||
// Tzseconds : Longint = 0;
|
||||
|
||||
|
||||
{********************
|
||||
@ -203,7 +204,8 @@ procedure SigRaise (sig:integer);
|
||||
|
||||
Implementation
|
||||
|
||||
Uses Strings{$ifndef FPC_USE_LIBC},Syscall{$endif};
|
||||
Uses UnixUtil, // tzseconds
|
||||
Strings {$ifndef FPC_USE_LIBC},Syscall{$endif};
|
||||
|
||||
{$i unxovl.inc}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user