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