From 35601768f33c339468b54387ab77c6dbf8ad803b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 27 Mar 2012 14:38:13 +1030 Subject: [PATCH] tap: assume variadic macros. The Sun C compiler has them, but fails this overzealous check. --- ccan/tap/tap.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ccan/tap/tap.h b/ccan/tap/tap.h index 06978e29..5b21ff75 100644 --- a/ccan/tap/tap.h +++ b/ccan/tap/tap.h @@ -42,10 +42,6 @@ */ void plan_tests(unsigned int tests); -#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(__GNUC__) -# error "Needs gcc or C99 compiler for variadic macros." -#else - /** * ok1 - Simple conditional test * @e: the expression which we expect to be true. @@ -252,5 +248,4 @@ void plan_skip_all(const char *reason); */ void (*tap_fail_callback)(void); -#endif /* C99 or gcc */ #endif /* CCAN_TAP_H */ -- 2.39.2