Fix: time constants already defined on macOS
[lttng-tools.git] / src / common / time.h
index 60d0a9bd5dcd8aa7faa56e8577d2e1f2e381ce0f..4cfdf856c521d155fe55dd7580d5180605097119 100644 (file)
 #include <time.h>
 #include <stdbool.h>
 #include <common/macros.h>
+#include <common/compat/time.h>
 
 #define MSEC_PER_SEC    1000ULL
 #define NSEC_PER_SEC    1000000000ULL
 #define NSEC_PER_MSEC   1000000ULL
 #define NSEC_PER_USEC   1000ULL
-#ifndef USEC_PER_SEC
 #define USEC_PER_SEC    1000000ULL
-#endif
 #define USEC_PER_MSEC   1000ULL
 
 #define SEC_PER_MINUTE  60ULL
This page took 0.022888 seconds and 4 git commands to generate.