From d6414c9ff74e3f8076a1e94d3c6074366119900e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 12 Aug 2013 21:25:36 -0400 Subject: Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start. --- node/Demarc.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'node/Demarc.cpp') diff --git a/node/Demarc.cpp b/node/Demarc.cpp index b935ce53..9c78fb65 100644 --- a/node/Demarc.cpp +++ b/node/Demarc.cpp @@ -26,6 +26,14 @@ */ #include + +#include "Constants.hpp" + +#ifdef __WINDOWS__ +#include +#include +#endif + #include "Demarc.hpp" #include "RuntimeEnvironment.hpp" #include "Logger.hpp" @@ -82,7 +90,7 @@ bool Demarc::has(Port p) const throw() { Mutex::Lock _l(_ports_m); - return (_ports.count(p)); + return (_ports.count(p) != 0); } bool Demarc::bindLocalUdp(unsigned int localPort) -- cgit v1.2.3