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]
|
[Changes 1.2c01]
|
||||||
|
|
||||||
|
* Fix alloca warnings on freebsd. (caf)
|
||||||
|
|
||||||
* Fix memory leak in banlist.c. (caf)
|
* Fix memory leak in banlist.c. (caf)
|
||||||
|
|
||||||
* Apply a fix contributed by cpet for the configure script on
|
* Apply a fix contributed by cpet for the configure script on
|
||||||
|
|||||||
@@ -113,7 +113,9 @@
|
|||||||
* I took this from the autoconf documentation
|
* I took this from the autoconf documentation
|
||||||
*/
|
*/
|
||||||
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H)
|
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H)
|
||||||
|
# ifndef alloca
|
||||||
# define alloca __builtin_alloca
|
# define alloca __builtin_alloca
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# if HAVE_ALLOCA_H
|
# if HAVE_ALLOCA_H
|
||||||
# include <alloca.h>
|
# include <alloca.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user