Fix alloca build warnings on freebsd (backport from epic).
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@83 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[Changes 1.2c01]
|
||||
|
||||
* Fix alloca warnings on freebsd. (caf)
|
||||
|
||||
* Fix memory leak in banlist.c. (caf)
|
||||
|
||||
* Apply a fix contributed by cpet for the configure script on
|
||||
|
||||
@@ -113,7 +113,9 @@
|
||||
* I took this from the autoconf documentation
|
||||
*/
|
||||
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H)
|
||||
# define alloca __builtin_alloca
|
||||
# ifndef alloca
|
||||
# define alloca __builtin_alloca
|
||||
# endif
|
||||
#else
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
|
||||
Reference in New Issue
Block a user