Fix: time constants already defined on macOS
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2019 17:33:18 +0000 (13:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2019 17:41:06 +0000 (13:41 -0400)
Include the compatibility time.h header in the common/time.h
to override any platform-defined constants. It seems that the
NSEC_PER_SEC (and other similar definitions) are defined to
nothing on macOS. This was already fixed in the compatibility
header in the past.

This also adds USEC_PER_SEC to the list of undef-initions
on macOS.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.025699 seconds and 4 git commands to generate.