]> sjero.net Git - wget/blobdiff - windows/config.h.bor
[svn] Updated dependencies of connect$o to include utils.h
[wget] / windows / config.h.bor
index c718cf678cb8d2add5706218d9e39cf028809717..69ac6c73c169e89578ad34dec73747bd348921d0 100644 (file)
 #ifndef CONFIG_H
 #define CONFIG_H
 
-/* Define if you have the <alloca.h> header file.  */
-#undef HAVE_ALLOCA_H
-
-/* AIX requires this to be the first thing in the file.  */
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#else
-# if HAVE_ALLOCA_H
-#  include <alloca.h>
-# else
-#  ifdef _AIX
- #pragma alloca
-#  else
-#   ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-#   endif
-#  endif
-# endif
+/* Borland C does not define __STDC__ when the Borland extensions are
+   enabled, but you need those extensions to compile <windows.h>.  */
+#if !defined(__STDC__) && defined(__BORLANDC__)
+# define __STDC__ 1
 #endif
 
-/* Define if on AIX 3.
-   System headers sometimes define this.
-   We just want to avoid a redefinition error message.  */
-#ifndef _ALL_SOURCE
-/* #undef _ALL_SOURCE */
+#define HAVE_MEMMOVE
+#define ftruncate chsize
+#define inline __inline
+
+/* Define if the free Borland C++Builder 5.5 command-line compiler is used,
+   because its utime() has a bug. */
+#define HACK_BCC_UTIME_BUG
+
+#ifdef HACK_BCC_UTIME_BUG
+#define utime borland_utime
 #endif
 
+/* Define if you have the <alloca.h> header file.  */
+#undef HAVE_ALLOCA_H
+
+/* For Borland C++ 5.5, alloca is defined in the <malloc.h> header file. */
+#include <malloc.h>
+
 /* Define to empty if the keyword does not work.  */
 /* #undef const */
 
@@ -176,4 +173,8 @@ char *alloca ();
 /* Define if we're using builtin (GNU) md5.c.  */
 #define HAVE_BUILTIN_MD5 1
 
+/* Define if you have the isatty function.  */
+#define HAVE_ISATTY
+
+
 #endif /* CONFIG_H */