#endif
#include <windows.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__CEGCC__)
HAVE_WINDOWS_H shall not be defined.
#else
int dummy=2*WINVER;
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([
],[
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || defined(__MINGW32CE__)
int dummy=1;
#else
Not a native Windows build target.
#include <windows.h>
#include <winsock.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__CEGCC__)
HAVE_WINSOCK_H shall not be defined.
#else
int dummy=WSACleanup();
#include <windows.h>
#include <winsock2.h>
],[
-#if defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
HAVE_WINSOCK2_H shall not be defined.
#else
int dummy=2*IPPROTO_ESP;
#include <winsock2.h>
#include <ws2tcpip.h>
],[
-#if defined(__CYGWIN__) || defined(_WIN32_WCE)
+#if defined(__CYGWIN__) || defined(__CEGCC__) || defined(__MINGW32CE__)
HAVE_WS2TCPIP_H shall not be defined.
#else
int dummy=2*IP_PKTINFO;