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 <[email protected]>
  • Loading branch information
ipetrovic11 authored and joaocgreis committed Jul 18, 2019
1 parent c6e3b65 commit 5736079
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 5736079

Please sign in to comment.