diff --git a/win32_functional_tests/simulator/global.h b/win32_functional_tests/simulator/global.h index 0f1fb5eea2..3a6ec2086a 100644 --- a/win32_functional_tests/simulator/global.h +++ b/win32_functional_tests/simulator/global.h @@ -24,6 +24,7 @@ typedef Thread thread_t; #define THD_FUNCTION(tname, arg) void tname(void *arg) #define MSG_OK RDY_OK #define eventflags_t flagsmask_t +#define chThdGetSelfX chThdSelf #define US_TO_NT_MULTIPLIER 100