1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-20 04:31:05 +00:00

Windows CE specific adjustment

All versions of Windows CE support Winsock 1.1
This commit is contained in:
Yang Tse
2011-03-22 14:28:47 +01:00
parent 8c503ddf79
commit d81cae7a67

8
ares.h
View File

@ -1,6 +1,6 @@
/* Copyright 1998, 2009 by the Massachusetts Institute of Technology.
* Copyright (C) 2007-2010 by Daniel Stenberg
* Copyright (C) 2007-2011 by Daniel Stenberg
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
@ -48,6 +48,12 @@
# include <netinet/in.h>
# include <sys/socket.h>
# include <tcp.h>
#elif defined(_WIN32_WCE)
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <windows.h>
# include <winsock.h>
#elif defined(WIN32)
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN