From 7c223c298778e37e7cd039461b5d663c50308bbd Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Sun, 28 Jan 2007 03:43:51 +0000 Subject: [PATCH] modified timeout-check to work with older versions of check --- tests/test.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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