Browse Source

tap: assume variadic macros.

The Sun C compiler has them, but fails this overzealous check.
Rusty Russell 14 years ago
parent
commit
35601768f3
1 changed files with 0 additions and 5 deletions
  1. 0 5
      ccan/tap/tap.h

+ 0 - 5
ccan/tap/tap.h

@@ -42,10 +42,6 @@
  */
  */
 void plan_tests(unsigned int tests);
 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
  * ok1 - Simple conditional test
  * @e: the expression which we expect to be true.
  * @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);
 void (*tap_fail_callback)(void);
 
 
-#endif /* C99 or gcc */
 #endif /* CCAN_TAP_H */
 #endif /* CCAN_TAP_H */