Should be fixed now. If any more of these occur, the problem is that <winsock2.h> needs to be included before <windows.h> (which itself includes <winsock.h>). I noticed that some source files include the winsock headers twice, so there is probably some spring cleaning that can be done.
I have included <winsock2.h> as one of the first things in <php.h>, so the large majority of all other .c files probably don't even need to include it explicitly anymore. --Wez. On Sun, 16 Feb 2003, Sebastian Bergmann wrote: > Wez Furlong wrote: > > Log: > > A add much more useful select(2) implementation than is provided by > > windows sockets. > > This broke the build for me. > > I get 1500+ errors that look like this one: > > c:\programme\microsoft sdk\include\winsock2.h(2478): error C2375: > 'WSAAsyncGetHostByName': Redefinition; different binding; > c:\programme\microsoft sdk\include\winsock.h(925): > See declaration of 'WSAAsyncGetHostByName' > > -- > Sebastian Bergmann > http://sebastian-bergmann.de/ http://phpOpenTracker.de/ > > Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php