gsocket.h: Make sure that winsock2.h is included before windows.h.
2010-04-18 Ozkan Sezer <sezeroz@gmail.com> * gsocket.h: Make sure that winsock2.h is included before windows.h. From-SVN: r158482
This commit is contained in:
parent
092e51d360
commit
0d29aedcb8
|
@ -1,3 +1,7 @@
|
|||
2010-04-18 Ozkan Sezer <sezeroz@gmail.com>
|
||||
|
||||
* gsocket.h: Make sure that winsock2.h is included before windows.h.
|
||||
|
||||
2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/utils2.c (build_unary_op) <ATTR_ADDR_EXPR>: Do not
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
|
||||
#elif defined (WINNT)
|
||||
#define FD_SETSIZE 1024
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <winsock2.h>
|
||||
|
@ -160,6 +159,8 @@
|
|||
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#elif defined(VMS)
|
||||
#define FD_SETSIZE 4096
|
||||
#ifndef IN_RTS
|
||||
|
|
Loading…
Reference in New Issue