platform.h   platform.h 
skipping to change at line 44 skipping to change at line 44
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
*/ */
#pragma once #pragma once
#if defined(WIN32) || defined(__MINGW32__) #if defined(WIN32) || defined(__MINGW32__)
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
typedef short in_port_t; #ifndef HAVE_IN_PORT_T
typedef int in_port_t;
# define HAVE_IN_PORT_T 1
#endif
typedef SOCKET memcached_socket_t; typedef SOCKET memcached_socket_t;
#else #else
# include <sys/socket.h> # include <sys/socket.h>
# include <netinet/in.h> # include <netinet/in.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <netdb.h> # include <netdb.h>
# include <sys/un.h> # include <sys/un.h>
# include <netinet/tcp.h> # include <netinet/tcp.h>
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/