source: trunk/minix/include/alloca.h@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 418 bytes
Line 
1/* alloca.h - The dreaded alloca() function.
2 */
3
4#ifndef _ALLOCA_H
5#define _ALLOCA_H
6
7#ifndef _TYPES_H
8#include <sys/types.h>
9#endif
10
11#if __GNUC__
12
13/* The compiler recognizes this special keyword, and inlines the code. */
14#define alloca(size) __builtin_alloca(size)
15
16#endif /* __GCC__ */
17
18#if __ACK__ || __CCC__
19
20_PROTOTYPE(void *alloca, (size_t _size) );
21
22#endif /* __ACK__ || __CCC__ */
23
24#endif /* _ALLOCA_H */
Note: See TracBrowser for help on using the repository browser.