X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Falloca.h;h=b8d183d144efad9bbe6aa94516bfe6ee6c5aa098;hb=7edbcbeb76cb46381c34e2c0491dcc459cd5fa46;hp=ac78e46038d45896e8942009884693a667539723;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/include/alloca.h b/include/alloca.h index ac78e460..b8d183d1 100644 --- a/include/alloca.h +++ b/include/alloca.h @@ -1,9 +1,19 @@ #ifndef _ALLOCA_H #define _ALLOCA_H +#ifdef __cplusplus +extern "C" { +#endif + #define __NEED_size_t #include void *alloca(size_t); +#define alloca __builtin_alloca + +#ifdef __cplusplus +} +#endif + #endif