Skip to content

Commit 18d5c7c

Browse files
ipetrovic11rvagg
authored andcommitted
win,src: update win_delay_load_hook.cc to work with /clr
Added "#pragma unmanaged" in win_delay_load_hook.cc to support clr PR-URL: #1819 Reviewed-By: João Reis <[email protected]>
1 parent 64bb407 commit 18d5c7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/win_delay_load_hook.cc

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* This allows compiled addons to work when the host executable is renamed.
88
*/
99

10+
#pragma unmanaged
11+
1012
#ifdef _MSC_VER
1113

1214
#ifndef WIN32_LEAN_AND_MEAN

0 commit comments

Comments
 (0)