bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch)


From: Derek Robert Price
Subject: nanosleep.c & winsock.h (was Re: Windows Build Broken - Feature Branch)
Date: Thu, 13 May 2004 16:03:08 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Conrad T. Pino wrote:

>These are the options as I see them now:
>
>1. fix "libdiff" build and/or sources so nested "winsock.h" includes
>work (wish I could offer more here but right now I don't have a clue),


It isn't obvious to me either.

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 ();

>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.

>3. CVS project adds "nanosleep" implementation to "windows-NT/woe32.c"


I was trying to avoid this kind of thing by using GNULIB but, if they
won't help, it may have to do.

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAo9R7LD1OTBfyMaQRAq9nAKCxLLzKwZEavnlBswErAymOz9JJSQCfevop
UaPxiQZ2UNejt664L+Nt9EI=
=TtRp
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]