From: Thomas Guyot-Sionnest Date: Wed, 14 Jan 2009 11:55:46 +0000 (-0500) Subject: Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0989fe7cb87e4dce7dbf2d4c338f3e4646df05a;p=nagiosplug.git Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h --- diff --git a/tap/tap.h b/tap/tap.h index e64f9d5..346bd91 100644 --- a/tap/tap.h +++ b/tap/tap.h @@ -47,7 +47,7 @@ skip(n, fmt, ## __VA_ARGS__); \ continue; \ } -#elif __STDC_VERSION__ >= 199901L /* __GNUC__ */ +#else /*#elif __STDC_VERSION__ >= 199901L*/ /* __GNUC__ */ # define ok(e, ...) ((e) ? \ _gen_result(1, __func__, __FILE__, __LINE__, \ __VA_ARGS__) : \ @@ -67,8 +67,8 @@ skip(n, __VA_ARGS__); \ continue; \ } -#else /* __STDC_VERSION__ */ -# error "Needs gcc or C99 compiler for variadic macros." +/*#else *//* __STDC_VERSION__ */ +/*# error "Needs gcc or C99 compiler for variadic macros."*/ #endif /* __STDC_VERSION__ */ # define skip_end } while(0);