Hi,

Following discussion in another thread this patch moves the minimum version of Windows supported in a default build of VIM up to Windows XP. This should make it easier to use features in newer versions of Windows.

Changes are only in the various Windows make files that mention WINVER - bc5, cygwin, ming, and MVC - but I only have VS so have not tested the other compilers. Can others try the patch with other compilers and report any problems please.

TTFN

Mike
--
Dragon, a lizard with indigestion.

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


diff --git a/src/Make_bc5.mak b/src/Make_bc5.mak
--- a/src/Make_bc5.mak
+++ b/src/Make_bc5.mak
@@ -82,7 +82,7 @@
 # POSTSCRIPT   no or yes: set to yes for PostScript printing
 # FEATURES     TINY, SMALL, NORMAL, BIG or HUGE
 #              (BIG for WIN32, SMALL for DOS16)
-# WINVER       0x0400 or 0x0500: minimum Win32 version to support (0x0400)
+# WINVER       minimum Win32 version to support (0x0501 - Windows XP)
 # CSCOPE       no or yes: include support for Cscope interface (yes)
 # NETBEANS     no or yes: include support for Netbeans interface (yes if GUI
 #              is yes)
@@ -249,7 +249,7 @@ FEATURES = BIG
 
 ### Set the default $(WINVER) to make it work with Bcc 5.5.
 !ifndef WINVER
-WINVER = 0x0400
+WINVER = 0x0501
 !endif
 
 #
diff --git a/src/Make_cyg.mak b/src/Make_cyg.mak
--- a/src/Make_cyg.mak
+++ b/src/Make_cyg.mak
@@ -52,7 +52,7 @@
 #              -L/lib/w32api to EXTRA_LIBS.
 # POSTSCRIPT   no or yes: set to yes for PostScript printing (no)
 # FEATURES     TINY, SMALL, NORMAL, BIG or HUGE (BIG)
-# WINVER       Lowest Win32 version to support.  (0x0500)
+# WINVER       Lowest Win32 version to support.  (0x0501)
 # CSCOPE       no or yes: to include cscope interface support (yes)
 # OPTIMIZE     SPACE, SPEED, or MAXSPEED: set optimization level (MAXSPEED)
 # NETBEANS     no or yes: to include netbeans interface support (yes when GUI
@@ -89,7 +89,7 @@ ARCH = i386
 endif
 
 ifndef WINVER
-WINVER = 0x0500
+WINVER = 0x0501
 endif
 
 ifndef CSCOPE
diff --git a/src/Make_ming.mak b/src/Make_ming.mak
--- a/src/Make_ming.mak
+++ b/src/Make_ming.mak
@@ -52,9 +52,9 @@ DYNAMIC_IME=yes
 POSTSCRIPT=no
 # Set to yes to enable OLE support.
 OLE=no
-# Set the default $(WINVER) to make it work with pre-Win2k.
+# Set the default $(WINVER) to make it work with pre-WinXP.
 ifndef WINVER
-WINVER = 0x0500
+WINVER = 0x0501
 endif
 # Set to yes to enable Cscope support.
 CSCOPE=yes
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -100,7 +100,8 @@
 #       Processor Version: CPUNR=[i386, i486, i586, i686, pentium4] (default is
 #       i386)
 #
-#       Version Support: WINVER=[0x0400, 0x0500] (default is 0x0400)
+#       Version Support: WINVER=[0x0400, 0x0500, 0x0501, 0x0502, 0x0600,
+#                               0x0601, 0x0602] (default is 0x0501 - WinXP)
 #
 #      Debug version: DEBUG=yes
 #      Mapfile: MAP=[no, yes or lines] (default is yes)
@@ -330,10 +331,9 @@ CON_LIB = oldnames.lib kernel32.lib adva
 CON_LIB = $(CON_LIB) /DELAYLOAD:comdlg32.dll /DELAYLOAD:ole32.dll DelayImp.lib
 !endif
 
-### Set the default $(WINVER) to make it work with VC++7.0 (VS.NET)
-#  When set to 0x0500 ":browse" stops working.
+# Minimum version of Windows supported is XP.
 !ifndef WINVER
-WINVER = 0x0400
+WINVER = 0x0501
 !endif
 
 # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal

Raspunde prin e-mail lui