Skip to content

Commit

Permalink
win32: Fix warning of GvimExt with VS2019
Browse files Browse the repository at this point in the history
VS2019 shows the following warning:

> warning LNK4281: undesirable base address 0x1C000000 for x64 image; set base
> address above 4GB for best ASLR optimization.

This fixes the warning.
  • Loading branch information
k-takata committed Apr 11, 2019
1 parent 29a9baa commit 362312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GvimExt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SUBSYSTEM = console
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!endif

!if "$(CPU)" == "ARM64"
!if "$(CPU)" == "AMD64" || "$(CPU)" == "ARM64"
OFFSET = 0x11C000000
!else
OFFSET = 0x1C000000
Expand Down

0 comments on commit 362312f

Please sign in to comment.