mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-02 22:27:21 +01:00
* moves the alias "TTime = time_t" from ptypes.inc to unixtype.pp.
This means it is not aliased in the body of the system unit (which causes trouble with the delphi type of the same name), but baseunix/unix/unixtype will containue to export the type. git-svn-id: trunk@14584 -
This commit is contained in:
parent
77fd8bacc7
commit
5d87461507
@ -85,8 +85,9 @@ type
|
||||
TClock = clock_t;
|
||||
pClock = ^clock_t;
|
||||
|
||||
time_t = clong; { used for returning the time }
|
||||
TTime = time_t;
|
||||
time_t = clong; { used for returning the time }/
|
||||
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -77,7 +77,8 @@ type
|
||||
pClock = ^clock_t;
|
||||
|
||||
time_t = clong; { used for returning the time }
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -94,7 +94,9 @@ type
|
||||
|
||||
time_t = clong; { used for returning the time, clong
|
||||
is 64-bit on AMD64}
|
||||
TTime = time_t;
|
||||
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -86,7 +86,7 @@ type
|
||||
pClock = ^clock_t;
|
||||
|
||||
time_t = clong; { used for returning the time }
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -98,7 +98,8 @@ Type
|
||||
pSSize = ^ssize_t;
|
||||
TClock = clock_t;
|
||||
pClock = ^clock_t;
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ type
|
||||
pClock = ^clock_t;
|
||||
|
||||
time_t = clong; { used for returning the time }
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ type
|
||||
pClock = ^clock_t;
|
||||
|
||||
time_t = clong; { used for returning the time }
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
|
||||
|
||||
@ -93,7 +93,8 @@ Type
|
||||
pSSize = ^ssize_t;
|
||||
TClock = clock_t;
|
||||
pClock = ^clock_t;
|
||||
TTime = time_t;
|
||||
// TTime = time_t; // Not allowed in system unit, -> unixtype
|
||||
|
||||
pTime = ^time_t;
|
||||
ptime_t = ^time_t;
|
||||
clockid_t = cint;
|
||||
|
||||
@ -20,6 +20,8 @@ Interface
|
||||
|
||||
{$i ptypes.inc}
|
||||
|
||||
Type
|
||||
TTime = time_t;
|
||||
Implementation
|
||||
|
||||
End.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user