From ce1ea799438e350c6df0a629d904b9c0a730cadc Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Wed, 30 Dec 2015 13:54:39 +0000 Subject: [PATCH] build: Allow header compilation by Windows C++ compiler --- config-win32.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config-win32.h b/config-win32.h index 1245ba2..374cd9a 100644 --- a/config-win32.h +++ b/config-win32.h @@ -211,6 +211,11 @@ /* Define to the return type of signal handlers (int or void). */ #define RETSIGTYPE void +#ifdef __cplusplus +/* Compiling headers in C++ mode means bool is available */ +#define HAVE_BOOL_T +#endif + /* Define if ssize_t is not an available 'typedefed' type. */ #ifndef _SSIZE_T_DEFINED # if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \