Windows build fixes.

This commit is contained in:
Adam Ierymenko 2014-01-17 17:09:59 -08:00
parent 7eccc5ebf2
commit 07f505971c
15 changed files with 53 additions and 26 deletions

View file

@ -34,6 +34,10 @@
#include "Constants.hpp"
#include "Utils.hpp"
#ifdef __WINDOWS__
#define round(x) ((x-floor(x))>0.5 ? ceil(x) : floor(x))
#endif
namespace ZeroTier {
/**