[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Windows Build Killer: lib/nanosleep.c
From: |
Conrad T. Pino |
Subject: |
Windows Build Killer: lib/nanosleep.c |
Date: |
Tue, 11 May 2004 14:07:54 -0700 |
Hi All,
File "lib/nanosleep.c" is a problem for these reasons:
1. defines function "my_usleep" which invokes function
"select" & VC6 has an implementation found by including
"winsock.h" which is NOT portable I presume,
2. function "select" uses a "struct timeval" argument
and VC6 doesn't have a definition of it in the expected
"time.h" file,
Function "nanosleep" references can be fixed in compile
and link with a combination of
A. "#include <winsock.h>" in "lib/nanosleep.c" file,
B. "#define nanosleep rpl_nanosleep" in "config.h" file.
but I'd like some feedback before committing to this as
a potential fix.
Best regards,
Conrad Pino
Microsoft's documentation of "select" function follows:
http://msdn.microsoft.com/library/en-us/wcesdkr/html/wcesdkrselect.asp
- Windows Build Killer: lib/nanosleep.c,
Conrad T. Pino <=
- Re: Windows Build Killer: lib/nanosleep.c, Derek Robert Price, 2004/05/11
- GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12
- Re: GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12
- RE: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12
- RE: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12