]> sjero.net Git - wget/commitdiff
[svn] Removed conditional cruft in windows/config.h.* that was there for
authorabbotti <devnull@localhost>
Wed, 20 Mar 2002 19:04:22 +0000 (11:04 -0800)
committerabbotti <devnull@localhost>
Wed, 20 Mar 2002 19:04:22 +0000 (11:04 -0800)
Unix-like systems.
Submitted by Ian Abbott in <3C98D4FD.23721.2823B6@localhost>.

ChangeLog
windows/config.h.bor
windows/config.h.ms

index 3b41ff972a8f2f87dc50f83d0c0c5dbee676e178..d8f14b9991efc44a22d0675045f00bcaa2487901 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-20  Ian Abbott  <abbotti@mev.co.uk>
+
+       * windows/config.h.bor:
+       * windows/config.h.ms:
+       Removed conditional cruft that was there for Unix-like systems.
+
 2002-03-20  Ian Abbott  <abbotti@mev.co.uk>
 
        * * windows/wget.dep: Fix dependencies for target mswindows$o
index be6db5a5a2f04def9f3a3023c4f852b930c85d7c..60a629e0839709ed666dd81973cddd629608ea89 100644 (file)
 /* 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 */
-#    include <malloc.h>
-#   endif
-#  endif
-# endif
-#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 */
-#endif
+/* 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 */
index 5078bd6735e701dbff3cffc7f7192c750d2676eb..89c01a52ed7c3aaa79a43ce6647666727a8d3ad9 100644 (file)
 /* 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 */
+/* Microsoft and Watcom libraries have an alloca function. */
 char *alloca ();
-#   endif
-#  endif
-# endif
-#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 */
-#endif
 
 /* Define to empty if the keyword does not work.  */
 /* #undef const */