OSDN Git Service

2010-04-18 Ozkan Sezer <sezeroz@gmail.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2010 10:15:52 +0000 (10:15 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2010 10:15:52 +0000 (10:15 +0000)
        * gsocket.h: Make sure that winsock2.h is included before windows.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158482 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/gsocket.h

index d24a07d..ee70230 100644 (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
index ca016c9..a8e6faa 100644 (file)
@@ -71,7 +71,6 @@
 
 #elif defined (WINNT)
 #define FD_SETSIZE 1024
-#include <windows.h>
 
 #ifdef __MINGW32__
 #include <winsock2.h>
 
 #endif
 
+#include <windows.h>
+
 #elif defined(VMS)
 #define FD_SETSIZE 4096
 #ifndef IN_RTS