forked from enlightenment/efl
proper include of alloca.h, thanks vtorri for spotting it.
SVN revision: 67084
This commit is contained in:
parent
c502186b3d
commit
25c6251caa
|
@ -28,6 +28,23 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
#elif defined __GNUC__
|
||||
# define alloca __builtin_alloca
|
||||
#elif defined _AIX
|
||||
# define alloca __alloca
|
||||
#elif defined _MSC_VER
|
||||
# include <malloc.h>
|
||||
# define alloca _alloca
|
||||
#else
|
||||
# include <stddef.h>
|
||||
# ifdef __cplusplus
|
||||
extern "C"
|
||||
# endif
|
||||
void *alloca (size_t);
|
||||
#endif
|
||||
|
||||
#include <stdio.h> /* asprintf() */
|
||||
#include <inttypes.h> /* PRId64 and PRIu64 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue