From 12d61437ea2409bb58f201291306256712ca8bed Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 30 Jan 2017 11:45:00 +0000 Subject: VC18 or later support stdbool.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 4b819e635d..f37b6c654b 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -541,6 +541,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 +!if $(MSC_VER) >= 1800 +#define HAVE_STDBOOL_H 1 +!endif #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_STRING_H 1 -- cgit v1.2.3