[xdebug-dev] xdebug xdebug/xdebug_com.c - fix windows compile

From: Shane Caraveo <shane[@]caraveo.com>
Date: Wed, 20 Oct 2004 00:38:28 +0200

Date: Wed Oct 20 00:38:28 CEST 2004
User: Shane Caraveo
Directory: xdebug

Log Message:
[0.2]
- fix windows compile

Modified files:
           xdebug/xdebug_com.c (version: 1.12)

[FILE: /xdebug/xdebug_com.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xdebug/xdebug_com.c:1.11 Tue Sep 07 12:27:44 2004 GMT
+++ xdebug/xdebug_com.c Tue Oct 19 20:38:28 2004 GMT
@@ -75,13 +75,15 @@
         struct sockaddr_in address;
         int err = -1;
         int sockfd;
- long optval = 1;
 #if WIN32|WINNT
         WORD wVersionRequested;
         WSADATA wsaData;
+ char optval = 1;
 
         wVersionRequested = MAKEWORD(2, 2);
         WSAStartup(wVersionRequested, &wsaData);
+#else
+ long optval = 1;
 #endif
         memset(&address, 0, sizeof(address));
         lookup_hostname(hostname, &address.sin_addr);
Received on Wed Oct 20 2004 - 00:38:33 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST