diff src/Make_mvc.mak @ 13468:539436dcb134 v8.0.1608

patch 8.0.1608: Win32: directx not enabled by default commit https://github.com/vim/vim/commit/43cb6262141c0a0853680bd8d0433e04db3bf182 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 14 21:39:02 2018 +0100 patch 8.0.1608: Win32: directx not enabled by default Problem: Win32: directx not enabled by default. Solution: Change Makefile to enable directx by default. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Wed, 14 Mar 2018 21:45:06 +0100
parents 017a81187128
children 88c8fc800bcc
line wrap: on
line diff
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -26,7 +26,7 @@
 #	GUI interface: GUI=yes (default is no)
 #
 #	GUI with DirectWrite (DirectX): DIRECTX=yes
-#	  (default is no, requires GUI=yes and MBYTE=yes)
+#	  (default is yes if GUI=yes, requires GUI=yes and MBYTE=yes)
 #
 #	Color emoji support: COLOR_EMOJI=yes
 #	  (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.)
@@ -180,6 +180,10 @@
 
 TARGETOS = WINNT
 
+!ifndef DIRECTX
+DIRECTX = $(GUI)
+!endif
+
 # Select one of eight object code directories, depends on GUI, OLE, DEBUG and
 # interfaces.
 # If you change something else, do "make clean" first!