Skip to content

Commit

Permalink
Merge pull request #57 from jdmears2/mingw-boost-fix
Browse files Browse the repository at this point in the history
Fix ASIO/Thread compatibility #56
  • Loading branch information
tomerfiliba committed Aug 15, 2013
2 parents a9fdf01 + 67e786a commit ba96a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libagnos/cpp/src/servers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ namespace agnos
std::cout << factory->acceptor->local_endpoint().address().to_string() << std::endl;
std::cout << factory->acceptor->local_endpoint().port() << std::endl;
std::cout.flush();
#ifdef _MSC_VER
#ifdef _WIN32
fclose(stdout);
#else
::fclose(::stdout);
Expand Down
1 change: 1 addition & 0 deletions libagnos/cpp/src/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <iterator>
#include "utf8.h"

#include <boost/asio.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include "objtypes.hpp"
Expand Down

0 comments on commit ba96a1f

Please sign in to comment.