Skip to content

Commit

Permalink
win32: Fix D&D by disabling HighEntropyVA
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Dec 27, 2017
1 parent de04654 commit 1b2faaa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Make_mvc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,13 @@ LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
!endif
!endif

!if $(MSVC_MAJOR) >= 11 && "$(CPU)" == "AMD64" && "$(GUI)" == "yes"
# This option is required for VC2012 or later so that 64-bit gvim can
# accept D&D from 32-bit applications. NOTE: This disables 64-bit ASLR,
# therefore the security level becomes as same as VC2010.
LINKARGS1 = $(LINKARGS1) /HIGHENTROPYVA:NO
!endif

all: $(VIM).exe \
vimrun.exe \
install.exe \
Expand Down

0 comments on commit 1b2faaa

Please sign in to comment.