]> sjero.net Git - wget/commitdiff
[svn] Updated alloca declaration.
authorhniksic <devnull@localhost>
Mon, 4 Jul 2005 01:48:47 +0000 (18:48 -0700)
committerhniksic <devnull@localhost>
Mon, 4 Jul 2005 01:48:47 +0000 (18:48 -0700)
src/ChangeLog
src/config-post.h

index dd5a6850538e8aab5c95425faae36b23a25e3392..5ad8e2e26afc44fd174b4944dd6c35dae64bc398 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h (alloca): Updated declaration to not enumerate all
+       Windows compilers.
+
 2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * openssl.c (openssl_errstr): Separate error messages with "; ".
index 5c93dddae3fb07ab04651fc5b8f2713468d30cb3..c22df03846410035d4509f29ac6062c8be699a1b 100644 (file)
 
 #if HAVE_ALLOCA_H
 # include <alloca.h>
-#elif defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
+#elif defined WINDOWS
 # include <malloc.h>
+# ifndef alloca
+#  define alloca _alloca
+# endif
 #elif defined __GNUC__
 # define alloca __builtin_alloca
 #elif defined _AIX