Re: [INTERNALS-WIN] Building PHP 5.2.8 under WIndows XP
[email protected] ("William A. Rowe, Jr.")
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
David M. Patterson wrote: > cgi_main.c > C:\Program Files\Microsoft SDK\Include\.\wspiapi.h(168) : error C2027: use The fix is trivial, I'll have something shortly, sorry I've been swamped since I put together these fixes. Essentially we simply need to ensure that _WINSOCK_H_ is defined to prevent the SDK from including winsock.h, and then ensure that winsock2 is included consistently. winsock.h is long, long dead.