From 07f505971c16f25c05357b49ae550509d77a7e95 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 17 Jan 2014 17:09:59 -0800 Subject: Windows build fixes. --- node/C25519.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/C25519.cpp') diff --git a/node/C25519.cpp b/node/C25519.cpp index 3a3b3704..8c7b89c8 100644 --- a/node/C25519.cpp +++ b/node/C25519.cpp @@ -18,6 +18,10 @@ Derived from public domain code by D. J. Bernstein. #include "SHA512.hpp" #include "Buffer.hpp" +#ifdef __WINDOWS__ +#pragma warning(disable: 4146) +#endif + namespace ZeroTier { ////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3