From 8d477a5aff12f793048f6c43bc9d39db154e915e Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 8 Jun 2020 15:06:59 +0200 Subject: [PATCH] Build WITH_PROXY on Windows too --- build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.c b/build.c index eb78fc7..d79bcad 100644 --- a/build.c +++ b/build.c @@ -78,7 +78,7 @@ void copy_files() { void build_windows(char *arch) { /* For all versions */ for (unsigned int i = 0; i < sizeof(versions) / sizeof(struct node_version); i++) { - run("cl /W3 /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c " + run("cl /W3 /D \"UWS_WITH_PROXY\" /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c " "uWebSockets/uSockets/src/eventing/*.c uWebSockets/uSockets/src/crypto/*.c /I targets/node-%s/include/node /I uWebSockets/src /EHsc " "/Ox /LD /Fedist/uws_win32_%s_%s.node src/addon.cpp targets/node-%s/node.lib", versions[i].name, arch, versions[i].abi, versions[i].name);