mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-02 23:58:42 -04:00
Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h
This commit is contained in:
parent
301871bd6f
commit
c0989fe7cb
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue