X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cc248aae9bff569a771210e9b63f6f4dfe83e3a6..e0ed4e4087ebeff0b0fe8f3419bcccf84fbd89a9:/popt/system.h diff --git a/popt/system.h b/popt/system.h index 338be45b..85daed3b 100644 --- a/popt/system.h +++ b/popt/system.h @@ -41,8 +41,15 @@ # ifdef _AIX #pragma alloca # else -# ifndef alloca /* predefined by HP cc +Olibcalls */ +# if HAVE_ALLOCA +# ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); +# endif +# else +# ifdef alloca +# undef alloca +# endif +# define alloca(sz) malloc(sz) /* Kludge this for now */ # endif # endif # endif