aboutsummaryrefslogtreecommitdiff
path: root/tap
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-14 06:55:46 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-14 06:55:46 -0500
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 e64f9d5f..346bd915 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);