Initial revision
This commit is contained in:
24
include/alloca.h
Executable file
24
include/alloca.h
Executable file
@@ -0,0 +1,24 @@
|
||||
/* 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 */
|
||||
Reference in New Issue
Block a user