]> sjero.net Git - wget/blobdiff - windows/config-compiler.h
Gisle's OpenWacom 1.7 _Bool fix.
[wget] / windows / config-compiler.h
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