Re: Windows breakage with cr_net.h
Samuel Thibault <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.devel |
|---|---|
| Message-ID | <[email protected]> |
Le mar 22 jun 2004 à 08:32:37 -0700, Mike Houston a tapoté sur son clavier : > Samuel Thibault wrote: > > >Le lun 21 jun 2004 à 17:23:28 -0700, Mike Houston a tapoté sur son clavier > >: > >>I noticed that we are trying to include sys/socket.h on ALL platforms. > >>We shouldn't be doing this under Windows. I'll be checking in a fix > >>shortly. > > > >Is netdb.h available under Windows ? It happens to seem to provide > >AF_INET6 under linux, but I'm really not sure. The tests I could see in > >configure.in scripts was always to use <sys/socket.h> > > > > > No. Windows doesn't yet support IPv6, at least in a standard posix manner. Yes, I know, but netdb.h also provides gethostbyname & co, I wonder where they are defined under Windows. Oops, sorry, misexplaining: I wanted to say that netdb.h seems to include sys/socket.h itself so that we could replace #include <sys/socket.h> by #include <netdb.h> and remove #ifndef WIN, but for this, netdb.h is needed even in windows. Regards, Samuel ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com