25 lines
418 B
C
25 lines
418 B
C
|
/* 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 */
|