|
From: | Derek Robert Price |
Subject: | Re: Windows Build Broken - Feature Branch |
Date: | Thu, 13 May 2004 14:33:02 -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: >Hi Derek, > >>From: Derek Robert Price >> >>>Looks like we have a solution for "nanosleep". >>> >>>How do you want divide the work? >> >>Feel free to submit a patch! :) > > >The unexpected is upon us. The attached patch: > > adds "lib/nanosleep.c" to "libcvs" compile > adds "#include <winsock.h>" to "windows-NT/unistd.h" > >which gets "nanosleep.c" to compile nicely and "libcvs" builds. > >The picture turns ugly in the "libdiff" compile. VC6 file "winnt.h" >blows up repeatedly in a very ugly way even though it compiled nicely >during "libcvs" build. > >My current hypothesis is "libdiff" conditional compile macros are >breaking "winnt.h" conditional compile macros since "libdiff" tends >to include "unistd.h" late in the include chain. What happens if you just declare the select prototype in unistd.h like you did for getpass? Is the problem because of the #include winsock.h or does the HAVE_UNISTD_H prevent diff from including windows headers it should be including? 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 iD8DBQFAo79cLD1OTBfyMaQRArkzAKDigZhJ+R27Od4AgvYd7iS+b5166ACg/RbB 8vQI5TPShC8XlP54cuyTmH4= =T+1x -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |