From f9b8427e1f6879c324adc53dbb33034ca0a29c95 Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Mon, 15 Oct 2007 12:10:37 -0700 Subject: [PATCH] Gisle's OpenWacom 1.7 _Bool fix. --- windows/ChangeLog | 4 ++++ windows/config-compiler.h | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/windows/ChangeLog b/windows/ChangeLog index 1b2193ab..f6a089c4 100644 --- a/windows/ChangeLog +++ b/windows/ChangeLog @@ -1,3 +1,7 @@ +2007-10-15 Gisle Vanem + + * config-compiler.h: Adjust for OpenWacom 1.7's _Bool fix. + 2007-10-05 Ralf Wildenhues * Makefile.in: Removed, replaced by Makefile.am. diff --git a/windows/config-compiler.h b/windows/config-compiler.h index cfef180f..6a73c189 100644 --- a/windows/config-compiler.h +++ b/windows/config-compiler.h @@ -205,8 +205,13 @@ so, delete this exception statement from your version. */ #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 -/* Watcom 1.6 do have , but definition of '_Bool' is missing! */ -/* #define HAVE_STDBOOL_H 1 */ +/* OpenWatcom 1.6 do have , but definition of '_Bool' is missing! */ +/* This was fixed in OpenWatcom 1.7 */ +#if __WATCOMC__ >= 1270 +#define HAVE_STDBOOL_H 1 +#define HAVE__BOOL 1 +#endif + #define HAVE_STRTOLL 1 #define HAVE_UINT32_T 1 #undef HAVE_UTIME_H -- 2.39.2