Cygwin: fix compilation

tm-threads.c:1190:5: error: unknown type name ‘DWORD’
pull/773/head
Victor Julien 12 years ago
parent 2f14d1e94e
commit 2eeddf969d

@ -134,7 +134,7 @@
#endif
]])
AC_CHECK_HEADERS([windows.h winsock2.h ws2tcpip.h], [], [],
AC_CHECK_HEADERS([windows.h winsock2.h ws2tcpip.h w32api/wtypes.h], [], [],
[[#define _X86_
]])
AC_CHECK_HEADERS([w32api/winbase.h], [], [],

@ -193,6 +193,10 @@
#include <w32api/winbase.h>
#endif
#ifdef HAVE_W32API_WTYPES_H
#include <w32api/wtypes.h>
#endif
#if !__CYGWIN__
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>

Loading…
Cancel
Save