[flashrom] [PATCH 3/3] udelay.c: usleep() not found in MinGW, used Sleep()
stefan.tauner at student.tuwien.ac.at
Thu Apr 4 02:20:03 CEST 2013
On Wed, 03 Apr 2013 01:21:11 +0200
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> wrote:
> I now see that the patch is correct. However, the code for non-Windows
> was broken as well (too big values for udelay), so I extended your patch
> a bit.
> usleep() is not found in all versions of MinGW, use Sleep() on Windows.
> Handle long sleeps on non-Windows correctly.
> Signed-off-by: Maksim Kuleshov <mmcx at mail.ru>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Looks good to me.
Acked-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
Everybody is invited to work on the following when the patch has been
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom