Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _ALLOCA_H |
2 | #define _ALLOCA_H | ||||
3 | |||||
Rich Felker | 3ed8c9f | 2011-11-10 20:40:06 -0500 | [diff] [blame] | 4 | #ifdef __cplusplus |
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 8 | #define __NEED_size_t |
9 | #include <bits/alltypes.h> | ||||
10 | |||||
11 | void *alloca(size_t); | ||||
12 | |||||
Rich Felker | d71d080 | 2012-04-09 15:06:58 -0400 | [diff] [blame] | 13 | #ifdef __GNUC__ |
14 | #define alloca __builtin_alloca | ||||
15 | #endif | ||||
16 | |||||
Rich Felker | 3ed8c9f | 2011-11-10 20:40:06 -0500 | [diff] [blame] | 17 | #ifdef __cplusplus |
18 | } | ||||
19 | #endif | ||||
20 | |||||
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 21 | #endif |