diff --git a/src/ChangeLog b/src/ChangeLog index dd5a6850..5ad8e2e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-07-04 Hrvoje Niksic + + * config-post.h (alloca): Updated declaration to not enumerate all + Windows compilers. + 2005-07-04 Hrvoje Niksic * openssl.c (openssl_errstr): Separate error messages with "; ". diff --git a/src/config-post.h b/src/config-post.h index 5c93ddda..c22df038 100644 --- a/src/config-post.h +++ b/src/config-post.h @@ -56,8 +56,11 @@ #if HAVE_ALLOCA_H # include -#elif defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ +#elif defined WINDOWS # include +# ifndef alloca +# define alloca _alloca +# endif #elif defined __GNUC__ # define alloca __builtin_alloca #elif defined _AIX