diff --git a/tests/test.h b/tests/test.h index 36a31d6..90f3c27 100644 --- a/tests/test.h +++ b/tests/test.h @@ -24,7 +24,9 @@ TCase *test_read_create_tests(); char *va_str(const char *, ...); -#ifndef tcase_set_timeout +#if (CHECK_MAJOR_VERSION == 0 && \ + ((CHECK_MINOR_VERSION == 9 && CHECK_MICRO_VERSION < 2) || \ + (CHECK_MINOR_VERSION < 9))) #define tcase_set_timeout(...) #endif