minix/include/alloca.h

25 lines
418 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* alloca.h - The dreaded alloca() function.
*/
#ifndef _ALLOCA_H
#define _ALLOCA_H
#ifndef _TYPES_H
#include <sys/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 */