0
0
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:
Mathias Stearn 2010-01-19 22:22:32 -05:00
parent 80076622e1
commit 5a9013d3cc

View File

@ -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
}