logger: use CLOCK_MONOTONIC on freebsd

This commit is contained in:
Gleb Popov 2019-11-21 17:55:59 +01:00 committed by Wim Taymans
parent 772bf2dce2
commit b73976ff10

View file

@ -37,6 +37,10 @@
#include <spa/utils/type.h>
#include <spa/utils/names.h>
#ifdef __FreeBSD__
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
#endif
#define NAME "logger"
#define DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_INFO