mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 12:20:28 +02:00
- removed "packed" modifiers from record types, the C versions don't have any
__attribute__((__packed__)) either (and {$packrecords c} is always active when compiling this file) git-svn-id: trunk@19612 -
This commit is contained in:
parent
c7d38570fd
commit
aefe5acd72
@ -137,7 +137,7 @@ TYPE
|
|||||||
TDirent = dirent;
|
TDirent = dirent;
|
||||||
pDirent = ^dirent;
|
pDirent = ^dirent;
|
||||||
|
|
||||||
dir = packed record
|
dir = record
|
||||||
dd_fd : cint; // file descriptor associated with directory
|
dd_fd : cint; // file descriptor associated with directory
|
||||||
dd_loc : clong; // offset in current buffer
|
dd_loc : clong; // offset in current buffer
|
||||||
dd_size : clong; // amount of data returned by getdirentries
|
dd_size : clong; // amount of data returned by getdirentries
|
||||||
@ -176,7 +176,7 @@ TYPE
|
|||||||
TFlock = flock;
|
TFlock = flock;
|
||||||
pFlock = ^flock;
|
pFlock = ^flock;
|
||||||
|
|
||||||
tms = packed record
|
tms = record
|
||||||
tms_utime : clock_t; { User CPU time }
|
tms_utime : clock_t; { User CPU time }
|
||||||
tms_stime : clock_t; { System CPU time }
|
tms_stime : clock_t; { System CPU time }
|
||||||
tms_cutime : clock_t; { User CPU time of terminated child procs }
|
tms_cutime : clock_t; { User CPU time of terminated child procs }
|
||||||
@ -310,14 +310,14 @@ CONST
|
|||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
timezone = packed record
|
timezone = record
|
||||||
tz_minuteswest,
|
tz_minuteswest,
|
||||||
tz_dsttime : cint;
|
tz_dsttime : cint;
|
||||||
end;
|
end;
|
||||||
ptimezone =^timezone;
|
ptimezone =^timezone;
|
||||||
TTimeZone = timezone;
|
TTimeZone = timezone;
|
||||||
|
|
||||||
rusage = packed record
|
rusage = record
|
||||||
ru_utime : timeval; { user time used }
|
ru_utime : timeval; { user time used }
|
||||||
ru_stime : timeval; { system time used }
|
ru_stime : timeval; { system time used }
|
||||||
ru_maxrss : clong; { max resident set size }
|
ru_maxrss : clong; { max resident set size }
|
||||||
|
Loading…
Reference in New Issue
Block a user