mirror of
https://github.com/dlang/phobos.git
synced 2025-05-13 15:52:41 +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)
|
||||
{
|
||||
alias long __time_t;
|
||||
alias uint __useconds_t;
|
||||
alias long __suseconds_t;
|
||||
alias long off_t;
|
||||
alias ulong ino_t;
|
||||
|
||||
|
@ -250,8 +252,14 @@ extern (C)
|
|||
|
||||
struct timeval
|
||||
{
|
||||
int tv_sec;
|
||||
int tv_usec;
|
||||
version (X86)
|
||||
{ int tv_sec;
|
||||
int tv_usec;
|
||||
}
|
||||
else version (X86_64)
|
||||
{ __time_t tv_sec;
|
||||
__suseconds_t tv_usec;
|
||||
}
|
||||
}
|
||||
|
||||
struct struct_timezone
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue