X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftime.h;h=60d0a9bd5dcd8aa7faa56e8577d2e1f2e381ce0f;hp=dc07633e968b41eb8d7e2387f78a5aa43c749ac4;hb=79064e4e3acf75b4acda0dbd2c9f0671302dbb2d;hpb=16ea9370e1b1d553c795d888cef0c900079a1ae2 diff --git a/src/common/time.h b/src/common/time.h index dc07633e9..60d0a9bd5 100644 --- a/src/common/time.h +++ b/src/common/time.h @@ -27,7 +27,9 @@ #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