modified timeout-check to work with older versions of check

This commit is contained in:
Bjorn Andersson 2007-01-28 03:43:51 +00:00
parent 0aa665c0e3
commit 7c223c2987
1 changed files with 3 additions and 1 deletions

View File

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