summaryrefslogtreecommitdiffstats
path: root/tap
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-14 11:55:46 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-14 11:55:46 (GMT)
commitc0989fe7cb87e4dce7dbf2d4c338f3e4646df05a (patch)
tree6484e2946fe261e4184b19f507831c25297b4cc2 /tap
parent301871bd6f20be394a4654ac1b5265ffc13a4c3e (diff)
downloadmonitoring-plugins-c0989fe7cb87e4dce7dbf2d4c338f3e4646df05a.tar.gz
Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h
Diffstat (limited to 'tap')
-rw-r--r--tap/tap.h6
1 files changed, 3 insertions, 3 deletions
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 @@
47 skip(n, fmt, ## __VA_ARGS__); \ 47 skip(n, fmt, ## __VA_ARGS__); \
48 continue; \ 48 continue; \
49 } 49 }
50#elif __STDC_VERSION__ >= 199901L /* __GNUC__ */ 50#else /*#elif __STDC_VERSION__ >= 199901L*/ /* __GNUC__ */
51# define ok(e, ...) ((e) ? \ 51# define ok(e, ...) ((e) ? \
52 _gen_result(1, __func__, __FILE__, __LINE__, \ 52 _gen_result(1, __func__, __FILE__, __LINE__, \
53 __VA_ARGS__) : \ 53 __VA_ARGS__) : \
@@ -67,8 +67,8 @@
67 skip(n, __VA_ARGS__); \ 67 skip(n, __VA_ARGS__); \
68 continue; \ 68 continue; \
69 } 69 }
70#else /* __STDC_VERSION__ */ 70/*#else *//* __STDC_VERSION__ */
71# error "Needs gcc or C99 compiler for variadic macros." 71/*# error "Needs gcc or C99 compiler for variadic macros."*/
72#endif /* __STDC_VERSION__ */ 72#endif /* __STDC_VERSION__ */
73 73
74# define skip_end } while(0); 74# define skip_end } while(0);