0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00

windows fix

This commit is contained in:
Mathias Stearn 2010-04-02 19:37:43 -04:00
parent a9382d41f0
commit 4cd861085b

View File

@ -30,6 +30,7 @@ namespace mongo {
#if defined(_WIN32)
typedef short sa_family_t;
typedef int socklen_t;
inline int getLastError() {
return WSAGetLastError();