summaryrefslogtreecommitdiff
path: root/libjava/win32.cc
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-01 04:29:31 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-01 04:29:31 +0000
commit59c0021c455e6b40df6b6472728933ddf971fc6e (patch)
treedf243c4d0168eaa45846882e1060f57323f7dbbe /libjava/win32.cc
parent2414b598821950b67a0311c1b4658bfc75d374a8 (diff)
downloadgcc-59c0021c455e6b40df6b6472728933ddf971fc6e.tar.gz
* configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
* configure. Regenerate. * include/win32.h: Explicitly include winsock2.h * win32.cc (_Jv_platform_initialize): Require version 2.2 of Winsock api. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85401 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/win32.cc')
-rw-r--r--libjava/win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/win32.cc b/libjava/win32.cc
index 027333be738..c337922d296 100644
--- a/libjava/win32.cc
+++ b/libjava/win32.cc
@@ -256,7 +256,7 @@ _Jv_platform_initialize (void)
{
// Initialise winsock for networking
WSADATA data;
- if (WSAStartup (MAKEWORD (1, 1), &data))
+ if (WSAStartup (MAKEWORD (2, 2), &data))
MessageBox (NULL, _T("Error initialising winsock library."), _T("Error"),
MB_OK | MB_ICONEXCLAMATION);