mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
modified timeout-check to work with older versions of check
This commit is contained in:
parent
0aa665c0e3
commit
7c223c2987
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue