Merge: Fix lib/realtime on osx
authorJean Privat <jean@pryen.org>
Thu, 23 Jul 2015 17:32:50 +0000 (13:32 -0400)
committerJean Privat <jean@pryen.org>
Thu, 23 Jul 2015 17:32:50 +0000 (13:32 -0400)
commit57baffe523017c82d6b050ded38d2e65f644ae91
tree5ac59d1672ff991e9c85c80c9ea92897d511cddb
parentc572fc3b07fab00e018ea9855cfc3f57179196f9
parentb27dc3a44fd74570aced0ca85619a5d9d5b23fc1
Merge: Fix lib/realtime on osx

A lot of googling to solve two related issues on Mac OS X

* `clock_gettime` and cie is not provided, and one should use the more complex clock_get_time (and cie)
* the POSIX `-lrt` is refused by the linker

close #868

Pull-Request: #1586
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>