]> sjero.net Git - wget/blobdiff - windows/config-compiler.h
[svn] More DMC features.
[wget] / windows / config-compiler.h
index 648ac50033199c37cdc306d467e9c69fb6868c0c..f9a40762516a69a84cd066104ea08517840deb71 100644 (file)
@@ -40,6 +40,11 @@ so, delete this exception statement from your version.  */
 
    Things that apply to *all* compilers, as well as things that are
    specific to Wget, belong in src/mswindows.h.  */
+
+/* For all compilers: must include <sys/stat.h> before redefining
+   stat.  */
+
+#include <sys/stat.h>
 \f
 /* -------------------- */
 /* MinGW (GCC) section. */
@@ -90,6 +95,10 @@ so, delete this exception statement from your version.  */
 #define struct_fstat struct _stati64
 
 #define isatty _isatty
+
+#if _MSC_VER >= 1300
+# define HAVE__STRTOI64
+#endif
 \f
 /* ------------------ */
 /* Borland C section. */
@@ -116,9 +125,19 @@ so, delete this exception statement from your version.  */
 #undef struct_fstat
 
 /* DMC's runtime supports some POSIX and C99 features we use.  */
-#define HAVE_USLEEP 1
+
+#define HAVE_STDINT_H
+#define HAVE_INTTYPES_H
 #define HAVE_STDBOOL_H 1
+
+#define HAVE_UINT32_T
+#undef SIZEOF_LONG_LONG
+#define SIZEOF_LONG_LONG 8
 #define HAVE__BOOL 1
+
+#define HAVE_USLEEP 1
+#define HAVE_STRTOLL
+
 \f
 #else
 # error Your compiler is not supported.