From 9505ad05eedefff2030bb20c587f168bb4dedeb7 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 11 Mar 2011 10:19:42 +0200 Subject: [PATCH] Use g_usleep() for portability, bug #644465 --- glib/tests/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c index 9354cd7..824afc0 100644 --- a/glib/tests/timeout.c +++ b/glib/tests/timeout.c @@ -61,7 +61,7 @@ test_func (gpointer data) /* Make the timeout take up to 0.1 seconds. * We should still get scheduled for the next second. */ - usleep (count * 10000); + g_usleep (count * 10000); if (count < 10) return TRUE; -- 2.7.4