diff options
author | Colin Harrison <colin.harrison-at-virgin.net> | 2008-04-26 08:53:13 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-26 08:53:34 +0100 |
commit | 568c5ea02ee1de437833ee0b53a7b3fd7ece084f (patch) | |
tree | 2de70a00d87f45befa970163a388c73719b3572c /Xtransutil.c | |
parent | 960902584a3ef125946beb5ebe331b54d697e9d9 (diff) |
Update to winsock2
Diffstat (limited to 'Xtransutil.c')
-rw-r--r-- | Xtransutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xtransutil.c b/Xtransutil.c index a35c84b..9906367 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -479,7 +479,7 @@ TRANS(WSAStartup) (void) PRMSG (2,"WSAStartup()\n", 0, 0, 0); - if (!wsadata.wVersion && WSAStartup(0x0101, &wsadata)) + if (!wsadata.wVersion && WSAStartup(MAKEWORD(2,2), &wsadata)) return 1; return 0; } |