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:
Joao Antonio Cardoso 2020-06-15 12:27:46 +00:00 committed by Stefan Schmidt
parent 7308011cff
commit 3cf052af33
1 changed files with 1 additions and 1 deletions

View File

@ -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";