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:
@@ -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