[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Bran
From: |
Conrad T. Pino |
Subject: |
RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch) |
Date: |
Thu, 13 May 2004 13:22:29 -0700 |
Hi Derek,
> From: Derek Robert Price
>
> Hrm. How about a declaration with no prototype in unistd.h? It'll
> disable MSVC's type checking for calls to select, but it might work.
> e.g.:
>
> int select ();
Could I get you a cup of coffee? :)
The hard issue isn't the "select" function prototype (just a warning).
The hard issue is "nanosleep" needs a "struct timeval" definition in
order to make the "select" call and a redefinition error occurs when
"winsock.h" follows "unistd.h" in the same compile.
> >2. ask GNULib team to reimplement "nanosleep" to replace "select" call
> >with a call to "usleep",
>
> I like this (dependant on HAVE_USLEEP), if we can't find another
> solution, but I'm not sure how the GNULIB team will feel.
I've posted a message to Jim Meyering, you and usual CCs in thread we
started on "bug-gnulib".
> >3. CVS project adds "nanosleep" implementation to "windows-NT/woe32.c"
Option was listed *just* for purposes of having a complete list. :)
> I was trying to avoid this kind of thing by using GNULIB but, if they
> won't help, it may have to do.
I haven't forgotten no matter how much I might wish I could!! :)
> Derek
Conrad
- RE: Windows Build Broken - Feature Branch, (continued)
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/12
- Re: Windows Build Broken - Feature Branch, Derek Robert Price, 2004/05/12
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/12
- Re: Windows Build Broken - Feature Branch, Derek Robert Price, 2004/05/13
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/13
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/14
- Re: Windows Build Broken - Feature Branch, Derek Robert Price, 2004/05/14
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/14
- RE: Windows Build Broken - Feature Branch, Conrad T. Pino, 2004/05/13
- nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Derek Robert Price, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch),
Conrad T. Pino <=
- Re: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Derek Robert Price, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Shaun Tancheff, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Conrad T. Pino, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Shaun Tancheff, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Conrad T. Pino, 2004/05/13
- Re: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Derek Robert Price, 2004/05/13
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Conrad T. Pino, 2004/05/14
- Re: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Derek Robert Price, 2004/05/14
- RE: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Conrad T. Pino, 2004/05/14
- Re: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch), Derek Robert Price, 2004/05/14