Change the prototype for usleep() to be more Cygwin-friendly.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@788 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2008-11-19 23:32:30 +00:00
parent 4f316d8f99
commit 981c91d72f
3 changed files with 10 additions and 2 deletions

View File

@@ -374,7 +374,7 @@ int gettimeofday(struct timeval *tv, struct timezone *unused){
#endif
void usleep(unsigned long us)
int usleep(unsigned int us)
{
int has_highperf;
LARGE_INTEGER freq,start,stop,loopend;
@@ -407,6 +407,8 @@ void usleep(unsigned long us)
}
DEBUG_DisplayTimingInfo(start, stop, freq, us, has_highperf);
return 0;
}
#endif