Fix build issue under cygwin

cygwin does not define sleep, so use our internal win32 version.
caused by commit 9d4aec6bda

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2011-05-23 10:22:12 +01:00
parent ef599aebfd
commit d16b0ea6d4
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ static int dsp5680xx_assert_reset(struct target *target){
jtag_add_reset(1,0);
target->state = TARGET_RESET;
jtag_add_sleep(500);
sleep(1);
usleep(1000);
return ERROR_OK;
}