bug-cvs
[Top][All Lists]
Advanced

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

Re: Windows Build Killer: lib/nanosleep.c


From: Derek Robert Price
Subject: Re: Windows Build Killer: lib/nanosleep.c
Date: Tue, 11 May 2004 20:06:53 -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:

>Function "nanosleep" references can be fixed in compile
>and link with a combination of
>
>A. "#include <winsock.h>" in "lib/nanosleep.c" file,


Hrm.  It's probably worth running this one by the GNULIB folks.
Sometimes for a single prototype they will choose to just declare it
themselves in the source file.

I might opt to fix nanosleep to honor HAVE_USLEEP instead and use a
system usleep when one can be found.  Since we were previously
defining HAVE_USLEEP in windows-NT/config.h, I would assume that
Windows has one.  You should run that by the GNULIB folks too.

>B. "#define nanosleep rpl_nanosleep" in "config.h" file.


This should be fine.

Derek

- --
                *8^)

Email: derek@ximbiot.com

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

iD8DBQFAoWqcLD1OTBfyMaQRAjAWAKDj6/HmydgvFQX+lCbEItWTUNisHQCglUFi
FqfN7a4qGuVWZxb6+5qVgyQ=
=SBLm
-----END PGP SIGNATURE-----





reply via email to

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