Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.

This commit is contained in:
Adam Ierymenko 2013-08-12 21:25:36 -04:00
commit d6414c9ff7
30 changed files with 191 additions and 87 deletions

View file

@ -29,8 +29,15 @@
#define _ZT_RATELIMITER_HPP
#include <math.h>
#include "Constants.hpp"
#include "Utils.hpp"
#ifdef __WINDOWS__
#define fmin(a,b) (((a) <= (b)) ? (a) : (b))
#define fmax(a,b) (((a) >= (b)) ? (a) : (b))
#endif
namespace ZeroTier {
/**