--- hatari/tests/debugger/test-evaluate.c 2019/04/09 08:55:02 1.1.1.3 +++ hatari/tests/debugger/test-evaluate.c 2019/04/09 08:56:15 1.1.1.4 @@ -10,6 +10,7 @@ #include "m68000.h" #include "main.h" #include "screen.h" +#include "configuration.h" #include "video.h" #define VBL_VALUE 21 @@ -49,7 +50,7 @@ int main(int argc, const char *argv[]) fprintf(stderr, "\nExpressions that should FAIL:\n"); - for (i = 0; i < ARRAYSIZE(failure); i++) { + for (i = 0; i < ARRAY_SIZE(failure); i++) { expression = failure[i]; fprintf(stderr, "- '%s'\n", expression); errstr = Eval_Expression(expression, &result, &offset, false); @@ -66,7 +67,7 @@ int main(int argc, const char *argv[]) fprintf(stderr, "\nExpressions that should SUCCEED with given result:\n"); - for (i = 0; i < ARRAYSIZE(success); i++) { + for (i = 0; i < ARRAY_SIZE(success); i++) { expression = success[i].expression; fprintf(stderr, "- '%s'\n", expression); errstr = Eval_Expression(expression, &result, &offset, false);