mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-21 23:59:19 +02:00
modified timeout-check to work with older versions of check
This commit is contained in:
parent
0aa665c0e3
commit
7c223c2987
|
@ -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 New Issue