Couple missed files from previous commits.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-08 19:17:46 +02:00
parent aabe433afe
commit 620b52bf47
2 changed files with 4 additions and 25 deletions

View file

@ -233,25 +233,3 @@ main (int argc, char *argv[])
return 0;
}
#if defined (__MINGW32__) || defined (__CYGWIN__)
void
grub_millisleep (grub_uint32_t ms)
{
Sleep (ms);
}
#else
void
grub_millisleep (grub_uint32_t ms)
{
struct timespec ts;
ts.tv_sec = ms / 1000;
ts.tv_nsec = (ms % 1000) * 1000000;
nanosleep (&ts, NULL);
}
#endif