From 573607981e70dc5a28635676acc83afabe43317d Mon Sep 17 00:00:00 2001 From: Ivan Petrovic Date: Fri, 12 Jul 2019 09:43:52 +0200 Subject: [PATCH] win,src: update win_delay_load_hook.cc to work with /clr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added "#pragma unmanaged" in win_delay_load_hook.cc to support clr PR-URL: https://github.com/nodejs/node-gyp/pull/1819 Reviewed-By: João Reis --- src/win_delay_load_hook.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win_delay_load_hook.cc b/src/win_delay_load_hook.cc index 5e7f14b2b2..567c4cc8d7 100644 --- a/src/win_delay_load_hook.cc +++ b/src/win_delay_load_hook.cc @@ -7,6 +7,8 @@ * This allows compiled addons to work when the host executable is renamed. */ +#pragma unmanaged + #ifdef _MSC_VER #ifndef WIN32_LEAN_AND_MEAN