Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h

This commit is contained in:
Thomas Guyot-Sionnest 2009-01-14 06:55:46 -05:00
parent 301871bd6f
commit c0989fe7cb

View file

@ -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);