minix/include/alloca.h
2009-11-09 10:26:00 +00:00

25 lines
420 B
C

/* alloca.h - The dreaded alloca() function.
*/
#ifndef _ALLOCA_H
#define _ALLOCA_H
#ifndef _TYPES_H
#include <minix/types.h>
#endif
#if __GNUC__
/* The compiler recognizes this special keyword, and inlines the code. */
#define alloca(size) __builtin_alloca(size)
#endif /* __GCC__ */
#if __ACK__ || __CCC__
_PROTOTYPE(void *alloca, (size_t _size) );
#endif /* __ACK__ || __CCC__ */
#endif /* _ALLOCA_H */