Commit 2b07bd06 authored by Thomas Schmitt's avatar Thomas Schmitt

Using usleep() instead of nanosleep() which is not available on Solaris 9

parent 0a714850
#define Cdrskin_timestamP "2011.01.16.140456"
#define Cdrskin_timestamP "2011.01.18.162859"
......@@ -211,9 +211,10 @@ struct burn_source *burn_fd_source_new(int datafd, int subfd, off_t size)
static int fifo_sleep(int flag)
{
static struct timespec sleeptime = { 0, 50000000}; /* 50 ms */
static unsigned long sleeptime = 50000; /* 50 ms */
return nanosleep(&sleeptime, NULL);
usleep(sleeptime);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment