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

Commit

Permalink
incorporate patch from bug 5495: Compile Error(FreeBSD): undefined id…
Browse files Browse the repository at this point in the history
…entifier CLOCK_MONOTONIC
  • Loading branch information
braddr committed Jan 27, 2011
1 parent 8b64042 commit 12c5f26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/sys/posix/time.d
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ version( linux )
enum CLOCK_MONOTONIC = 1;
enum CLOCK_MONOTONIC_RAW = 4; // non-standard
enum CLOCK_MONOTONIC_COARSE = 6; // non-standard

}
else
{
enum CLOCK_MONOTONIC = 4;
}

//
Expand Down

0 comments on commit 12c5f26

Please sign in to comment.