diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/mem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/mem.h b/common/mem.h index 980ea139..af89ba6f 100644 --- a/common/mem.h +++ b/common/mem.h @@ -41,7 +41,9 @@ extern "C" { #ifdef HAVE_ALLOCA_H # include <alloca.h> #elif defined __GNUC__ +#if !defined alloca # define alloca __builtin_alloca +#endif #elif defined _AIX # define alloca __alloca #elif defined _MSC_VER |