Commit 0d29aedc by Ozkan Sezer Committed by Kai Tietz

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
parent 092e51d3
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> 2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils2.c (build_unary_op) <ATTR_ADDR_EXPR>: Do not * gcc-interface/utils2.c (build_unary_op) <ATTR_ADDR_EXPR>: Do not
......
...@@ -71,7 +71,6 @@ ...@@ -71,7 +71,6 @@
#elif defined (WINNT) #elif defined (WINNT)
#define FD_SETSIZE 1024 #define FD_SETSIZE 1024
#include <windows.h>
#ifdef __MINGW32__ #ifdef __MINGW32__
#include <winsock2.h> #include <winsock2.h>
...@@ -160,6 +159,8 @@ ...@@ -160,6 +159,8 @@
#endif #endif
#include <windows.h>
#elif defined(VMS) #elif defined(VMS)
#define FD_SETSIZE 4096 #define FD_SETSIZE 4096
#ifndef IN_RTS #ifndef IN_RTS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment