diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2019-10-27 14:02:10 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-10-30 08:20:39 +0000 |
commit | eef992deacf0dd49ef9c4e1690bd7e80cf1bfcce (patch) | |
tree | 0599f4180e55624d55b0adf94b447a4e1e53de79 /src/include/device | |
parent | 776da0872efcc58543afbe32fc55202521ef0014 (diff) |
commonlib/helpers: Add alloca() macro
If there is no alloca() macro defined, then define it as
__builtin_alloca(), as most compilers support that as an intrinsic
instead, if no alloca.h is included.
Change-Id: I8730d57ce7c2f323b52e7a5720c598fb7af16b44
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36387
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device')
0 files changed, 0 insertions, 0 deletions