Re: [INTERNALS-WIN] Building PHP 5.2.8 under WIndows XP
| From: | William A. Rowe, Jr. | Date: | Thu, 29 Jan 2009 22:55:54 +0000 |
| Subject: | Re: [INTERNALS-WIN] Building PHP 5.2.8 under WIndows XP | ||
| References: | 1 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-383@lists.php.net to get a copy of this message | ||
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.