summaryrefslogtreecommitdiff
path: root/src/win32_compatibility.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-14 21:09:21 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-14 21:09:21 +0000
commitef2f33c700a9f559648089a5314638f9c73d3589 (patch)
tree1734cf5b726b482a6d78c21e115bf55b68dcfa90 /src/win32_compatibility.cpp
parentb49973db8489f02e10e3475b6a8a199d919a6efa (diff)
downloadlibbu++-ef2f33c700a9f559648089a5314638f9c73d3589.tar.gz
libbu++-ef2f33c700a9f559648089a5314638f9c73d3589.tar.bz2
libbu++-ef2f33c700a9f559648089a5314638f9c73d3589.tar.xz
libbu++-ef2f33c700a9f559648089a5314638f9c73d3589.zip
Gettin' closer.
Diffstat (limited to 'src/win32_compatibility.cpp')
-rw-r--r--src/win32_compatibility.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/win32_compatibility.cpp b/src/win32_compatibility.cpp
index 083925b..e7710e5 100644
--- a/src/win32_compatibility.cpp
+++ b/src/win32_compatibility.cpp
@@ -350,5 +350,15 @@ int DynamicWinsock2::DYN_FD_ISSET(SOCKET s, fd_set *set)
350 return out; 350 return out;
351} 351}
352 352
353DynamicWinsock2::Winsock2::Winsock2()
354{
355 DynamicWinsock2::WSAStartup( MAKEWORD(2, 2), &wsaData );
356}
357
358DynamicWinsock2::Winsock2::~Winsock2()
359{
360 DynamicWinsock2::WSACleanup();
361}
362
353#endif 363#endif
354 364