win32: fix tests/sources.c
authorDieter Verfaillie <dieterv@optionexplicit.be>
Tue, 21 Aug 2012 19:10:16 +0000 (21:10 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Tue, 21 Aug 2012 19:15:45 +0000 (21:15 +0200)
commita3655be2111ee38839fe2a1fd001923d1d4ad7be
tree00b0b659c7040ef9a3abe9041e87421d58de53f3
parent7518f7a674723ded4cbb32d780c594c5d515af70
win32: fix tests/sources.c

"make check" was failing on sys/resource.h not being available on
win32. Seeing that this test just spews some numbers on stdout
whithout really testing anything we can safely replace them with
similar enough numbers by relying on g_get_monotonic_time ().

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682386
tests/sources.c