mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
windows fix
This commit is contained in:
parent
a9382d41f0
commit
4cd861085b
@ -30,6 +30,7 @@ namespace mongo {
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
typedef short sa_family_t;
|
||||
typedef int socklen_t;
|
||||
inline int getLastError() {
|
||||
return WSAGetLastError();
|
||||
|
Loading…
Reference in New Issue
Block a user