]> sjero.net Git - wget/commitdiff
Gisle's OpenWacom 1.7 _Bool fix.
authorMicah Cowan <micah@cowan.name>
Mon, 15 Oct 2007 19:10:37 +0000 (12:10 -0700)
committerMicah Cowan <micah@cowan.name>
Mon, 15 Oct 2007 19:10:37 +0000 (12:10 -0700)
windows/ChangeLog
windows/config-compiler.h

index 1b2193abd22cfb7af9f6fcb2968102794dc300d1..f6a089c46a5fef0e9f7617c70c65ad3abcf897f6 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-15  Gisle Vanem  <giva@bgnett.no>
+
+       * config-compiler.h: Adjust for OpenWacom 1.7's _Bool fix.
+
 2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.in: Removed, replaced by Makefile.am.
index cfef180fad2c9f79b38adb0d6da97da61ae82eb2..6a73c189809db37f880af4f9bb4df2ee5fc070eb 100644 (file)
@@ -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 <stdbool.h>, but definition of '_Bool' is missing! */
-/* #define HAVE_STDBOOL_H 1 */
+/* OpenWatcom 1.6 do have <stdbool.h>, 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