Skip to content

Commit

Permalink
win,src: update win_delay_load_hook.cc to work with /clr
Browse files Browse the repository at this point in the history
Added "#pragma unmanaged" in win_delay_load_hook.cc to support clr

PR-URL: #1819
Reviewed-By: João Reis <reis@janeasystems.com>
  • Loading branch information
ipetrovic11 authored and rvagg committed Sep 26, 2019
1 parent 64bb407 commit 18d5c7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/win_delay_load_hook.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18d5c7c

Please sign in to comment.