1 #if !defined(_LOCAL_WIN32_H) && defined(__WIN32__) && !defined(__CYGWIN__)
9 /* MingW32 specific stuff here. */
10 # if defined(HAVE_WINSOCK2_H) && defined(HAVE_LIBWSOCK32)
11 /* We have to override the detected configuration
12 because it can't detect the network libraries. */
13 # define HAVE_GETHOSTBYNAME 1
14 # define HAVE_INET_ADDR 1
15 # define HAVE_SOCKET 1
17 # define sleep(x) Sleep((x) * 1000)
19 /* MSVC++ configuration follows */
21 # define HAVE_STDLIB_H 1
22 # define HAVE_WINDOWS_H 1
23 # define HAVE_STDARG_H 1
24 # define HAVE_WINSVC_H 1
25 # define HAVE_WINSOCK2_H 1
26 # define HAVE_WINDOWSX_H 1
27 #endif /* __MINGW32__ */
32 #ifdef HAVE_WINDOWSX_H
33 # include <windowsx.h>
35 #ifdef HAVE_WINSOCK2_H
36 # include <winsock2.h>
44 #endif /* _LOCAL_WIN32_H */