aboutsummaryrefslogtreecommitdiff
path: root/main-loop.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-31 17:34:41 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-04-03 09:34:34 +0100
commitfb7c8e8a2d3ac99c9310a01d17a2b46584320bc9 (patch)
tree228ce3e6f4f30dbb41e15bc9fd47a61785888226 /main-loop.c
parent3f97fd851cf7b16b822c2c366e02708070f713bb (diff)
block/curl: Replace usleep by g_usleep
The function usleep is not available for all supported platforms: at least some versions of MinGW don't support it. usleep was also declared obsolete by POSIX.1-2001. The function g_usleep is part of glib2.0, so it is available for all supported platforms. Using nanosleep would also be possible but needs more code. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'main-loop.c')
0 files changed, 0 insertions, 0 deletions