mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
namespace issue (for bad c++ compilers)
This commit is contained in:
parent
80076622e1
commit
5a9013d3cc
@ -87,9 +87,9 @@ namespace mongo {
|
||||
inline void closesocket(int s) {
|
||||
// never wait for socket to close
|
||||
#ifdef _WIN32
|
||||
boost::thread(bind(::closesocket, s));
|
||||
boost::thread(boost::bind(::closesocket, s));
|
||||
#else
|
||||
boost::thread(bind(::close, s));
|
||||
boost::thread(boost::bind(::close, s));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user