summaryrefslogtreecommitdiff
path: root/gcc/ada/g-socthi-mingw.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-15 09:47:20 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-15 09:47:20 +0000
commitb05b9ac656db4e914ed78d7c6e391fbb6ece6ea9 (patch)
treeec0a6bfcd2f3ac952bad0f4a3783f18eda07756a /gcc/ada/g-socthi-mingw.adb
parent01046664b7fb53a64abeb067ece510fbe149609f (diff)
downloadgcc-b05b9ac656db4e914ed78d7c6e391fbb6ece6ea9.tar.gz
2009-07-15 Sergey Rybin <rybin@adacore.com>
* tree_in.ads, tree_io.ads: Add pragma Warnings Off/On for with clause to System.OS_Lib to avoid warnings. 2009-07-15 Robert Dewar <dewar@adacore.com> * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor reformatting. 2009-07-15 Thomas Quinot <quinot@adacore.com> * g-socthi-mingw.adb: Minor comment addition * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-socthi-mingw.adb')
-rw-r--r--gcc/ada/g-socthi-mingw.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/g-socthi-mingw.adb b/gcc/ada/g-socthi-mingw.adb
index 7c0e7f6ef7f..49df16363b3 100644
--- a/gcc/ada/g-socthi-mingw.adb
+++ b/gcc/ada/g-socthi-mingw.adb
@@ -47,7 +47,9 @@ package body GNAT.Sockets.Thin is
WSAData_Dummy : array (1 .. 512) of C.int;
- WS_Version : constant := 16#0202#;
+ WS_Version : constant := 16#0202#;
+ -- Winsock 2.2
+
Initialized : Boolean := False;
function Standard_Connect