Add a check for alloca() (moved from SPICE/common)

This commit is contained in:
Christophe de Dinechin 2018-04-10 19:11:34 +02:00
parent 87ba839cdd
commit 6dd6537407
1 changed files with 7 additions and 0 deletions

7
config/check_alloca.c Normal file
View File

@ -0,0 +1,7 @@
#include <alloca.h>
int main()
{
void *result = alloca(20);
return 0;
}