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:
Ozkan Sezer 2010-04-18 10:15:52 +00:00 committed by Kai Tietz
parent 092e51d360
commit 0d29aedcb8
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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