From 9d4eabdf68a3f251dcde079a8ff29ccf83fee122 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 18 Apr 2018 12:43:17 +0300 Subject: Define HAVE_STDBOOL_H for MinGW. --- pc/ChangeLog | 5 +++++ pc/config.h | 2 +- pc/config.sed | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'pc') diff --git a/pc/ChangeLog b/pc/ChangeLog index e623a9a3..cdecbc4c 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,8 @@ +2018-04-18 Arnold D. Robbins + + * config.sed: Add HAVE_STDBOOL_H for MinGW. + * config.h: Ditto. + 2018-03-22 Arnold D. Robbins * config.h: Add support for printf %a format. diff --git a/pc/config.h b/pc/config.h index 52d5a964..62c13f22 100644 --- a/pc/config.h +++ b/pc/config.h @@ -233,7 +233,7 @@ #define HAVE_STDARG_H 1 /* Define to 1 if stdbool.h conforms to C99. */ -#ifdef __DJGPP__ +#if defined(__MINGW32__) || defined(__DJGPP__) #define HAVE_STDBOOL_H 1 #endif diff --git a/pc/config.sed b/pc/config.sed index a7ba8788..315c9cad 100644 --- a/pc/config.sed +++ b/pc/config.sed @@ -142,7 +142,7 @@ s/^#undef HAVE_MKTIME *$/#define HAVE_MKTIME 1/ #endif s/^#undef HAVE_STDARG_H *$/#define HAVE_STDARG_H 1/ /^#undef HAVE_STDBOOL_H *$/c\ -#ifdef __DJGPP__\ +#if defined(__MINGW32__) || defined(__DJGPP__)\ #define HAVE_STDBOOL_H 1\ #endif /^#undef HAVE_STDDEF_H *$/c\ -- cgit v1.2.3