| 1 |
// SPDX-License-Identifier: BSD-2-Clause-Patent |
| 2 |
#ifdef SHIM_UNIT_TEST |
| 3 |
#include_next <alloca.h> |
| 4 |
#else |
| 5 |
#ifndef _ALLOCA_H |
| 6 |
#define _ALLOCA_H |
| 7 |
|
| 8 |
#include <builtins_begin_.h> |
| 9 |
mkbi1_(void *, alloca, size_t, size) |
| 10 |
#define alloca_with_align(size, alignment) __builtin_alloca_with_align(size, alignment) |
| 11 |
#define alloca_with_align_and_max(size, alignment, max) __builtin_alloca_with_align_and_max(size, alignment, max) |
| 12 |
#include <builtins_end_.h> |
| 13 |
|
| 14 |
#endif /* !_ALLOCA_H */ |
| 15 |
#endif |
| 16 |
// vim:fenc=utf-8:tw=75:noet |