summaryrefslogtreecommitdiff
path: root/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'config-win32.h')
-rw-r--r--config-win32.h5
1 files changed, 5 insertions, 0 deletions
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)) || \