Mercurial > vim
diff src/Make_mvc.mak @ 7414:d467ca80d3c1 v7.4.1011
commit https://github.com/vim/vim/commit/2bf2417612879de627dcea1dbb22ee2199b16963
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 20:54:51 2015 +0100
patch 7.4.1011
Problem: Can't build with Strawberry Perl.
Solution: Include stdbool.h. (Ken Takata, closes https://github.com/vim/vim/issues/328)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 21:00:04 +0100 |
parents | a3b8a63c88ef |
children | b5d07f5e78ba |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -826,6 +826,11 @@ CFLAGS = $(CFLAGS) -DDYNAMIC_PERL -DDYNA PERL_EXE = $(PERL)\Bin$(PERL_ARCH)\perl PERL_INC = /I $(PERL_INCDIR) +!if $(MSVC_MAJOR) <= 11 +# ActivePerl 5.20+ requires stdbool.h but VC2012 or earlier doesn't have it. +# Use a stub stdbool.h. +PERL_INC = $(PERL_INC) /I if_perl_msvc +!endif PERL_OBJ = $(OUTDIR)\if_perl.obj $(OUTDIR)\if_perlsfio.obj XSUBPP = $(PERL)\lib\ExtUtils\xsubpp !if exist($(XSUBPP))