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

@@ -46,7 +46,7 @@ extern "C" {
#define ANTIWARP 3
#define usleep(us) Sleep(us/1000*ANTIWARP)
*/
void usleep(unsigned long us);
int usleep(unsigned int us);
#if !defined(HAVE_GETTIMEOFDAY)
struct timezone;