some windows fixes

This commit is contained in:
Peter Thorson
2012-06-05 08:39:08 -05:00
parent 2d12256c7c
commit b58cf53353
2 changed files with 4 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ void request::process(unsigned int id) {
}
sleep(1);
boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
}
e.end_perpetual();
t.join();

View File

@@ -41,7 +41,9 @@
#endif
#ifdef _MSC_VER
#define _WEBSOCKETPP_CPP11_FRIEND_
#ifndef _WEBSOCKETPP_CPP11_FRIEND_
#define _WEBSOCKETPP_CPP11_FRIEND_
#endif
#endif
#include <exception>