summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-03-11 10:19:42 +0200
committerTor Lillqvist <tml@iki.fi>2011-03-11 10:21:39 +0200
commitb6027dbcc001a73aa123e79ddd12e946d8997fd9 (patch)
tree076929f6d3c1ae61e41e4fb08a67aa9298fe5bcf
parentf837fb3cef2cd96367a79760d60bb92621bd094b (diff)
Use g_usleep() for portability, bug #644465
-rw-r--r--glib/tests/timeout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
index 63b750376..cdf5a11b4 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 < 8)
return TRUE;