diff --git a/node/Node.hpp b/node/Node.hpp index 64c9fcb46..d7b039b86 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -65,6 +65,12 @@ public: Node(void *uptr,const struct ZT_Node_Callbacks *callbacks,uint64_t now); virtual ~Node(); + // Get rid of alignment warnings on 32-bit Windows and possibly improve performance +#ifdef __WINDOWS__ + void * operator new(size_t i) { return _mm_malloc(i,16); } + void operator delete(void* p) { _mm_free(p); } +#endif + // Public API Functions ---------------------------------------------------- ZT_ResultCode processWirePacket( diff --git a/windows/ZeroTierOne/ZeroTierOne.vcxproj b/windows/ZeroTierOne/ZeroTierOne.vcxproj index 2a6545eb2..6a2ca5202 100644 --- a/windows/ZeroTierOne/ZeroTierOne.vcxproj +++ b/windows/ZeroTierOne/ZeroTierOne.vcxproj @@ -25,7 +25,6 @@ - @@ -81,28 +80,11 @@ - - - - - - - - - - - - - - - - - + - diff --git a/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters b/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters index 8a426d4bb..ff3d48210 100644 --- a/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters +++ b/windows/ZeroTierOne/ZeroTierOne.vcxproj.filters @@ -40,18 +40,9 @@ {17ae9a01-d39f-4c6d-a800-8f2cd0804c96} - - {736aad7f-8d95-4602-88df-3bb970869c6f} - - - {3636527c-bc03-4852-bd3c-20ee25e56d82} - {7784af31-5b60-4300-b07e-44cf864c54db} - - {29164186-10fc-45f5-b253-6d03f0ddd4db} - {f8a1c208-15b8-4d85-a4cb-11d2b82f2d1e} @@ -67,15 +58,6 @@ {bf604491-14c4-4a74-81a6-6105d07c5c7c} - - {5939db69-ab17-47c6-97fb-185e2c678737} - - - {3666f510-b6da-47cb-8039-56441f2dac3e} - - - {1a47071e-e51b-4535-89ae-858946f03118} - {5423fb64-896b-432e-a19d-88d4467f89f9} @@ -91,6 +73,9 @@ {3cad34c8-c436-43ae-8323-57803637c832} + + {ff20532b-d9a2-440d-a7b4-b49e26a9b2f8} + @@ -165,9 +150,6 @@ Source Files\node - - Source Files\ext\lz4 - Source Files\ext\http-parser @@ -404,12 +386,6 @@ Header Files\node - - Header Files\ext\lz4 - - - Header Files\ext\json-parser - Header Files\ext\http-parser @@ -425,54 +401,6 @@ Header Files\osdep - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - - - Header Files\ext\bin\miniupnpc\include - Header Files\node @@ -557,6 +485,9 @@ Header Files\service + + Header Files\ext\json +