Re: Re: cvs: php4 / run-tests.php /ext/curl interface.c streams.c /ext/fbsql php_fbsql.c /ext/ftp ftp.c /ext/hyperwave hg_comm.c hw.c /ext/imap
php_imap.c /ext/ldap ldap.c /ext/
| From: | Wez Furlong | Date: | Sun, 16 Feb 2003 13:10:05 +0000 |
| Subject: | Re: Re: cvs: php4 / run-tests.php /ext/curl interface.c streams.c /ext/fbsql php_fbsql.c /ext/ftp ftp.c /ext/hyperwave hg_comm.c hw.c /ext/imap php_imap.c /ext/ldap ldap.c /ext/ |
||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94274@lists.php.net to get a copy of this message | ||
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
>
>
>