Skip to content

Commit

Permalink
Solve some Win-specific problems and Bump 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaterFire committed Nov 3, 2017
1 parent 19763f3 commit bfffc15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Log::Level Log::level(INFO);
void Log::log(const string &message, Level level) {
if (level >= Log::level) {
fprintf(stderr, "%s\n", message.c_str());
fflush(stderr);
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
#include <string>
#include <boost/asio.hpp>

#ifdef ERROR // windows.h
#undef ERROR
#endif

class Log {
public:
enum Level {
Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <string>
using namespace std;

const string Version::version("0.3.0");
const string Version::version("0.3.1");

string Version::get_version() {
return version;
Expand Down

0 comments on commit bfffc15

Please sign in to comment.