]> sjero.net Git - wget/blobdiff - msdos/config.h
Gisle's diff-7.txt.
[wget] / msdos / config.h
index 276f66c1716ea14be5a4c4445edf004c0f35c82c..f40eb45cb80b30fea5cb155cd9ef3b1bbef52a1d 100644 (file)
 
 #include <sys/errno.h>
 
-#if defined(__WATCOMC__) && (__WATCOMC__ >= 1250)  /* OW 1.5+ */
+#if defined(__WATCOMC__)
+  #if (__WATCOMC__ >= 1250)  /* OW 1.5+ */
   #define OPENWATCOM_15
+  #endif
+  #if (__WATCOMC__ >= 1270)  /* OW 1.7+ */
+    #define OPENWATCOM_17
+  #endif
 #endif
 
 #if defined(__HIGHC__)
@@ -71,7 +76,8 @@
   #define HAVE_INT64_T        1
 
   #if (DJGPP_MINOR >= 4)
-    #include <stdbool.h>
+    #define HAVE_STDBOOL_H 1
+    #define HAVE_STDINT_H  1
     #define HAVE_SNPRINTF 1
     #define HAVE_VSNPRINTF 1
     #define HAVE_UINT32_T 1
 
 #ifdef OPENWATCOM_15
   #define HAVE_INT64_T     1
+  #define HAVE_SNPRINTF    1
   #define HAVE_STRCASECMP  1
   #define HAVE_STRNCASECMP 1
+  #define HAVE_STDINT_H    1
   #define HAVE_UTIME_H     1
 #endif
 
+#ifdef OPENWATCOM_17
+  #define HAVE__BOOL       1
+  #define HAVE_STDBOOL_H   1
+#endif
+
 #define HAVE_PROCESS_H     1
 #define HAVE_STRDUP 1
 #define HAVE_STDLIB_H 1