Fix: redefinition of USEC_PER_SEC macro on macOS
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2019 15:56:02 +0000 (11:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2019 17:54:00 +0000 (13:54 -0400)
commitabedf16440c3f1dc225fa0ddc4667430ebb371f1
tree5fd1e32c8d74ad1c46e052e3665ea824c7b53203
parent5c5b25b46c6a3be0d52c5545f249ec8c7c5e869c
Fix: redefinition of USEC_PER_SEC macro on macOS

USEC_PER_SEC is defined by system headers on macOS, resulting in
a warning that it is redefined in time.h. Define it conditionally.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/time.h
This page took 0.038306 seconds and 4 git commands to generate.