efl_check.h: Replace stack allocated array by heap allocated
clang-cl doesn't support the syntax of dynamic stack allocated arrays. ref: windows-native-port Co-authored-by: Lucas <Coquinho@users.noreply.github.com> Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11970
This commit is contained in:
parent
7308011cff
commit
3cf052af33
|
@ -131,7 +131,7 @@ _efl_test_option_disp(int argc, char **argv, const Efl_Test_Case *etc)
|
|||
}
|
||||
else if (strcmp(argv[i], "--valgrind") == 0)
|
||||
{
|
||||
const char *nav[argc + 3];
|
||||
const char ** nav = (const char **) alloca(sizeof(char*) * (argc + 3));
|
||||
int j, k;
|
||||
|
||||
nav[0] = "valgrind";
|
||||
|
|
Loading…
Reference in New Issue