Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1039 from redstar/solaris_time
Browse files Browse the repository at this point in the history
Solaris updates for core.sys.posix.time.
  • Loading branch information
DmitryOlshansky committed Nov 24, 2014
2 parents 5a5d1a8 + 65cd848 commit 978b72e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/sys/posix/time.d
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ else version( FreeBSD )
}
else version (Solaris)
{
// Not supported.
time_t timegm(tm*); // non-standard
}
else version (Android)
{
Expand Down Expand Up @@ -258,6 +258,7 @@ else version (Solaris)
timespec it_value;
}

enum CLOCK_REALTIME = 0; // <sys/time_impl.h>
enum TIMER_ABSOLUTE = 0x1;

alias int clockid_t;
Expand Down

0 comments on commit 978b72e

Please sign in to comment.