On 11 October 2014 12:43, Peter Maydell <[email protected]> wrote: > Hi; just noticed this breaks 'make check' build on MacOSX: > > /Users/pm215/src/qemu/tests/libqos/virtio.c:84:25: warning: implicit > declaration of function > 'g_get_monotonic_time' is invalid in C99 > [-Wimplicit-function-declaration] > gint64 start_time = g_get_monotonic_time(); > ^ > (and subsequent linker error). > > g_get_monotonic_time() only appeared in glib 2.28, and our > minimum is 2.12.
vhost-user-test.c has a helper function that has a fallback for not having g_get_monotonic_time(); we probably want to put that somewhere more generally accessible. -- PMM
