mirror of
https://github.com/dlang/phobos.git
synced 2025-05-14 08:55:54 +03:00
fix linux declarations
This commit is contained in:
parent
186802ff7e
commit
a08628aaf9
1 changed files with 10 additions and 2 deletions
|
@ -44,6 +44,8 @@ version (linux)
|
||||||
else version (X86_64)
|
else version (X86_64)
|
||||||
{
|
{
|
||||||
alias long __time_t;
|
alias long __time_t;
|
||||||
|
alias uint __useconds_t;
|
||||||
|
alias long __suseconds_t;
|
||||||
alias long off_t;
|
alias long off_t;
|
||||||
alias ulong ino_t;
|
alias ulong ino_t;
|
||||||
|
|
||||||
|
@ -250,9 +252,15 @@ extern (C)
|
||||||
|
|
||||||
struct timeval
|
struct timeval
|
||||||
{
|
{
|
||||||
int tv_sec;
|
version (X86)
|
||||||
|
{ int tv_sec;
|
||||||
int tv_usec;
|
int tv_usec;
|
||||||
}
|
}
|
||||||
|
else version (X86_64)
|
||||||
|
{ __time_t tv_sec;
|
||||||
|
__suseconds_t tv_usec;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
struct struct_timezone
|
struct struct_timezone
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue