From: Jérémie Galarneau Date: Fri, 6 Sep 2019 15:56:02 +0000 (-0400) Subject: Fix: redefinition of USEC_PER_SEC macro on macOS X-Git-Tag: v2.12.0-rc1~437 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=79064e4e3acf75b4acda0dbd2c9f0671302dbb2d;hp=79064e4e3acf75b4acda0dbd2c9f0671302dbb2d 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 ---